Skip to content

Commit

Permalink
Rollup merge of #114754 - workingjubilee:gamma-ray-logger, r=thomcc
Browse files Browse the repository at this point in the history
Name what ln_gamma does

The previous description omitted some important details.
  • Loading branch information
matthiaskrgr authored Aug 25, 2023
2 parents c9228ae + 90dc2f8 commit b88849d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion library/std/src/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,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
///
Expand Down
4 changes: 3 additions & 1 deletion library/std/src/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,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
///
Expand Down

0 comments on commit b88849d

Please sign in to comment.