about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-03-31 00:40:02 +0200
committerest31 <MTest31@outlook.com>2017-04-18 02:43:16 +0200
commit873a3b0363fd8f211f720c3b021a4e1c4c11f754 (patch)
tree8d3e991737e343670a8f7b3b21b3303ef349fdaa /src/libstd
parent3993eb4a276079af826c75e233e1a1d2ab93de13 (diff)
downloadrust-873a3b0363fd8f211f720c3b021a4e1c4c11f754.tar.gz
rust-873a3b0363fd8f211f720c3b021a4e1c4c11f754.zip
Allow us to remove masking in the future
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/f32.rs4
-rw-r--r--src/libstd/f64.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/f32.rs b/src/libstd/f32.rs
index 8759f103dff..316e6841c4f 100644
--- a/src/libstd/f32.rs
+++ b/src/libstd/f32.rs
@@ -1257,8 +1257,8 @@ impl f32 {
     /// There is only one difference to a bare `transmute`:
     /// Due to the implications onto Rust's safety promises being
     /// uncertain, if the representation of a signaling NaN "sNaN" float
-    /// is passed to the function, a quiet NaN will be returned
-    /// instead.
+    /// is passed to the function, the implementation is allowed to
+    /// return a quiet NaN instead.
     ///
     /// Note that this function is distinct from casting.
     ///
diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs
index a4645c3a70f..be55cb80c92 100644
--- a/src/libstd/f64.rs
+++ b/src/libstd/f64.rs
@@ -1149,8 +1149,8 @@ impl f64 {
     /// There is only one difference to a bare `transmute`:
     /// Due to the implications onto Rust's safety promises being
     /// uncertain, if the representation of a signaling NaN "sNaN" float
-    /// is passed to the function, a quiet NaN will be returned
-    /// instead.
+    /// is passed to the function, the implementation is allowed to
+    /// return a quiet NaN instead.
     ///
     /// Note that this function is distinct from casting.
     ///