Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
library
/
compiler-builtins
/
libm
/
src
/
math
/
tgammaf.rs
blob: fe178f7a3c0ea1016b703a053dc7dc446436a7a7 [
file
] [
log
] [
blame
]
use
super
::
tgamma
;
/// The [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f32).
#[
cfg_attr
(
all
(
test
,
assert_no_panic
),
no_panic
::
no_panic
)]
pub
fn
tgammaf
(
x
:
f32
)
->
f32
{
tgamma
(
x
as
f64
)
as
f32
}