summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStrømberg <Stromberg90@users.noreply.github.com>2020-01-16 03:34:23 +0100
committerGitHub <noreply@github.com>2020-01-16 03:34:23 +0100
commit3f337b312d0cfec712fc56539a08b3ea9923bbf7 (patch)
tree563d74003d3579edc160a6ac56a919bfc7cec7ee
parentUpdate f32.rs (diff)
downloadrust-3f337b312d0cfec712fc56539a08b3ea9923bbf7.tar.gz
rust-3f337b312d0cfec712fc56539a08b3ea9923bbf7.tar.bz2
rust-3f337b312d0cfec712fc56539a08b3ea9923bbf7.tar.xz
Update f64.rs
-rw-r--r--src/libstd/f64.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs
index 61ce7b2..2dbd942 100644
--- a/src/libstd/f64.rs
+++ b/src/libstd/f64.rs
@@ -323,7 +323,7 @@ impl f64 {
323 unsafe { intrinsics::powf64(self, n) } 323 unsafe { intrinsics::powf64(self, n) }
324 } 324 }
325 325
326 /// Takes the square root of a number. 326 /// Returns the square root of a number.
327 /// 327 ///
328 /// Returns NaN if `self` is a negative number. 328 /// Returns NaN if `self` is a negative number.
329 /// 329 ///
@@ -506,7 +506,7 @@ impl f64 {
506 unsafe { cmath::fdim(self, other) } 506 unsafe { cmath::fdim(self, other) }
507 } 507 }
508 508
509 /// Takes the cubic root of a number. 509 /// Returns the cubic root of a number.
510 /// 510 ///
511 /// # Examples 511 /// # Examples
512 /// 512 ///