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:
Matthias Krüger 2023-08-25 09:00:12 +02:00 committed by GitHub
commit b88849d77c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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
///

View File

@ -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
///