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