@@ -394,7 +394,7 @@ impl f32 {
394394
395395 /// Not a Number (NaN).
396396 ///
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;
398398 /// a plethora of bit patterns are considered to be NaN.
399399 /// Furthermore, the standard makes a difference
400400 /// between a "signaling" and a "quiet" NaN,
@@ -632,7 +632,7 @@ impl f32 {
632632 }
633633
634634 /// 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
636636 /// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
637637 /// the bit pattern of NaNs are conserved over arithmetic operations, the result of
638638 /// `is_sign_positive` on a NaN might produce an unexpected result in some cases.
@@ -654,7 +654,7 @@ impl f32 {
654654 }
655655
656656 /// 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
658658 /// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
659659 /// the bit pattern of NaNs are conserved over arithmetic operations, the result of
660660 /// `is_sign_negative` on a NaN might produce an unexpected result in some cases.
0 commit comments