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