fix typo in max description for f32/f64

This commit is contained in:
klensy 2022-01-18 10:26:30 +03:00
parent e4ff9031ac
commit 51cd00c32f
2 changed files with 2 additions and 2 deletions

View File

@ -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 libms fmin.
/// This matches the behavior of libms fmax.
///
/// ```
/// let x = 1.0f32;

View File

@ -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 libms fmin.
/// This matches the behavior of libms fmax.
///
/// ```
/// let x = 1.0_f64;