]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/num/f64.rs
Rollup merge of #92887 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum
[rust.git] / library / core / src / num / f64.rs
index 4049c95b130f2a6bdc771a61ed13739ba240e647..5a3cd2a4b92600286983480dd0ea0f9b9ed6544d 100644 (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 libm’s fmin.
+    /// This matches the behavior of libm’s fmax.
     ///
     /// ```
     /// let x = 1.0_f64;