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. ///