]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/f64.rs
Auto merge of #68448 - maurer:dyn-cdylib, r=alexcrichton
[rust.git] / src / libstd / f64.rs
index 15fbb911d043a373dd90ae5c74598311e44ea987..d89b38e1a003501c1002639537b890d1bbee9163 100644 (file)
@@ -323,7 +323,7 @@ pub fn powf(self, n: f64) -> f64 {
         unsafe { intrinsics::powf64(self, n) }
     }
 
-    /// Takes the square root of a number.
+    /// Returns the square root of a number.
     ///
     /// Returns NaN if `self` is a negative number.
     ///
@@ -506,7 +506,7 @@ pub fn abs_sub(self, other: f64) -> f64 {
         unsafe { cmath::fdim(self, other) }
     }
 
-    /// Takes the cubic root of a number.
+    /// Returns the cubic root of a number.
     ///
     /// # Examples
     ///