libm/math/
lgamma.rs

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