Rollup merge of #114754 - workingjubilee:gamma-ray-logger, r=thomcc
Name what ln_gamma does The previous description omitted some important details.
This commit is contained in:
commit
b88849d77c
@ -989,7 +989,9 @@ pub fn gamma(self) -> f32 {
|
||||
unsafe { cmath::tgammaf(self) }
|
||||
}
|
||||
|
||||
/// Returns the natural logarithm of the gamma function.
|
||||
/// Natural logarithm of the absolute value of the gamma function
|
||||
///
|
||||
/// The integer part of the tuple indicates the sign of the gamma function.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -989,7 +989,9 @@ pub fn gamma(self) -> f64 {
|
||||
unsafe { cmath::tgamma(self) }
|
||||
}
|
||||
|
||||
/// Returns the natural logarithm of the gamma function.
|
||||
/// Natural logarithm of the absolute value of the gamma function
|
||||
///
|
||||
/// The integer part of the tuple indicates the sign of the gamma function.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user