fix typo in max
description for f32/f64
This commit is contained in:
parent
e4ff9031ac
commit
51cd00c32f
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user