Sign in
rust
/
rust
/
HEAD
/
.
/
library
/
compiler-builtins
/
libm
/
src
/
math
/
lgamma.rs
blob: da7ce5c983b95255b34f96f146dbbf7249ac1762 [
file
] [
log
] [
blame
]
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
}