Debian Codegraph @

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

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