☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
libm
/
src
/
math
/
tgammaf.rs
☽
☼
debian/rust-vendor/libm/src/math/tgammaf.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
use super::tgamma;
2
3
/// The [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f32).
4
#[cfg_attr(assert_no_panic, no_panic::no_panic)]
5
pub fn tgammaf(x: f32) -> f32 {
6
tgamma(x as f64) as f32
7
}