Skip to content

Commit

Permalink
fix typo in max description for f32/f64
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Jan 18, 2022
1 parent e4ff903 commit 51cd00c
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 51cd00c

Please sign in to comment.