Allow us to remove masking in the future

This commit is contained in:
est31 2017-03-31 00:40:02 +02:00
parent 3993eb4a27
commit 873a3b0363
2 changed files with 4 additions and 4 deletions

View File

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

View File

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