Debian Codegraph @

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

raw
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(assert_no_panic, no_panic::no_panic)]
6 pub fn lgammaf(x: f32) -> f32 {
7 lgammaf_r(x).0
8 }