blob: 8312dc18648e0c362bcf69a9ac1a264cc184d78c [file] [log] [blame]
use super::lgamma_r;
/// The natural logarithm of the
/// [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f64).
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn lgamma(x: f64) -> f64 {
lgamma_r(x).0
}