Sign in
fuchsia
/
third_party
/
rust
/
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
/
.
/
library
/
compiler-builtins
/
libm
/
src
/
math
/
lgamma.rs
blob: 8312dc18648e0c362bcf69a9ac1a264cc184d78c [
file
] [
log
] [
blame
]
use
super
::
lgamma_r
;
/// The natural logarithm of the
/// [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f64).
#[
cfg_attr
(
all
(
test
,
assert_no_panic
),
no_panic
::
no_panic
)]
pub
fn
lgamma
(
x
:
f64
)
->
f64
{
lgamma_r
(
x
).
0
}