Rollup merge of #93026 - klensy:f-typo, r=scottmcm

fix typo in `max` description for f32/f64
This commit is contained in:
Matthias Krüger
2022-01-18 22:00:51 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -675,7 +675,7 @@ pub fn to_radians(self) -> 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;
+1 -1
View File
@@ -691,7 +691,7 @@ pub fn to_radians(self) -> 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;