/rust/registry/src/index.crates.io-1949cf8c6b5b557f/libm-0.2.16/src/math/tgammaf.rs
Line
Count
Source
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
0
pub fn tgammaf(x: f32) -> f32 {
6
tgamma(x as f64) as f32
7
}