1 | use super::lgammaf_r; |
---|---|
2 | |
3 | /// The natural logarithm of the |
4 | /// [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f32). |
5 | #[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)] |
6 | pub fn lgammaf(x: f32) -> f32 { |
7 | lgammaf_r(x).0 |
8 | } |
9 |