summaryrefslogtreecommitdiffstats
path: root/third_party/rust/libm/src/math/lgamma.rs
blob: a08bc5b641e4fd78a5d4d23b2285ec02f11d0d8e (plain)
1
2
3
4
5
6
use super::lgamma_r;

#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
pub fn lgamma(x: f64) -> f64 {
    lgamma_r(x).0
}