blob: fe178f7a3c0ea1016b703a053dc7dc446436a7a7 (
plain)
1
2
3
4
5
6
7
|
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
}
|