1
Fork 0

Name what ln_gamma does

The previous description omitted some important details.
This commit is contained in:
Jubilee Young 2023-08-12 02:13:37 -07:00
parent a6f8aa5a09
commit 90dc2f839b
2 changed files with 6 additions and 2 deletions

View file

@ -978,7 +978,9 @@ impl f32 {
unsafe { cmath::tgammaf(self) } 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 /// # Examples
/// ///

View file

@ -978,7 +978,9 @@ impl f64 {
unsafe { cmath::tgamma(self) } 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 /// # Examples
/// ///