Skip to content

Commit

Permalink
Rollup merge of #93026 - klensy:f-typo, r=scottmcm
Browse files Browse the repository at this point in the history
fix typo in `max` description for f32/f64
  • Loading branch information
matthiaskrgr authored Jan 18, 2022
2 parents 73988b6 + 51cd00c commit 63376bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/core/src/num/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ impl f32 {
/// Returns the maximum of the two numbers.
///
/// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
/// This matches the behavior of libm’s fmin.
/// This matches the behavior of libm’s fmax.
///
/// ```
/// let x = 1.0f32;
Expand Down
2 changes: 1 addition & 1 deletion library/core/src/num/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ impl f64 {
/// Returns the maximum of the two numbers.
///
/// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
/// This matches the behavior of libm’s fmin.
/// This matches the behavior of libm’s fmax.
///
/// ```
/// let x = 1.0_f64;
Expand Down

0 comments on commit 63376bb

Please sign in to comment.