mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Name what ln_gamma does
The previous description omitted some important details.
This commit is contained in:
parent
a6f8aa5a09
commit
90dc2f839b
@ -978,7 +978,9 @@ impl 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
|
||||
///
|
||||
|
@ -978,7 +978,9 @@ impl 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