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