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