Debian Codegraph @

debian/rust-vendor/libm/src/math/tgammaf.rs

raw
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 }