☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
libm
/
src
/
math
/
lgamma.rs
☽
☼
debian/rust-vendor/libm/src/math/lgamma.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
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
}