@@ -393,7 +393,7 @@ impl f64 {
393
393
394
394
/// Not a Number (NaN).
395
395
///
396
- /// Note that IEEE-745 doesn't define just a single NaN value;
396
+ /// Note that IEEE-754 doesn't define just a single NaN value;
397
397
/// a plethora of bit patterns are considered to be NaN.
398
398
/// Furthermore, the standard makes a difference
399
399
/// between a "signaling" and a "quiet" NaN,
@@ -624,7 +624,7 @@ impl f64 {
624
624
}
625
625
626
626
/// Returns `true` if `self` has a positive sign, including `+0.0`, NaNs with
627
- /// positive sign bit and positive infinity. Note that IEEE-745 doesn't assign any
627
+ /// positive sign bit and positive infinity. Note that IEEE-754 doesn't assign any
628
628
/// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
629
629
/// the bit pattern of NaNs are conserved over arithmetic operations, the result of
630
630
/// `is_sign_positive` on a NaN might produce an unexpected result in some cases.
@@ -655,7 +655,7 @@ impl f64 {
655
655
}
656
656
657
657
/// Returns `true` if `self` has a negative sign, including `-0.0`, NaNs with
658
- /// negative sign bit and negative infinity. Note that IEEE-745 doesn't assign any
658
+ /// negative sign bit and negative infinity. Note that IEEE-754 doesn't assign any
659
659
/// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
660
660
/// the bit pattern of NaNs are conserved over arithmetic operations, the result of
661
661
/// `is_sign_negative` on a NaN might produce an unexpected result in some cases.
0 commit comments