@@ -695,8 +695,8 @@ impl f64 {
695
695
/// Note that IEEE 754 doesn't assign any meaning to the sign bit in case of
696
696
/// a NaN, and as Rust doesn't guarantee that the bit pattern of NaNs are
697
697
/// conserved over arithmetic operations, the result of `is_sign_positive` on
698
- /// a NaN might produce an unexpected or non-portable result. See [explanation
699
- /// of NaN as a special value ](f32) for more info. Use `self >= 0.0` if you
698
+ /// a NaN might produce an unexpected or non-portable result. See the [specification
699
+ /// of NaN bit patterns ](f32#nan-bit-patterns ) for more info. Use `self >= 0.0` if you
700
700
/// need fully portable behavior and are okay with `-0.0` being considered positive.
701
701
///
702
702
/// ```
@@ -729,8 +729,8 @@ impl f64 {
729
729
/// Note that IEEE 754 doesn't assign any meaning to the sign bit in case of
730
730
/// a NaN, and as Rust doesn't guarantee that the bit pattern of NaNs are
731
731
/// conserved over arithmetic operations, the result of `is_sign_negative` on
732
- /// a NaN might produce an unexpected or non-portable result. See [explanation
733
- /// of NaN as a special value ](f32) for more info. Use `self <= 0.0` if you
732
+ /// a NaN might produce an unexpected or non-portable result. See the [specification
733
+ /// of NaN bit patterns ](f32#nan-bit-patterns ) for more info. Use `self <= 0.0` if you
734
734
/// need fully portable behavior and are okay with `+0.0` being considered negative.
735
735
///
736
736
/// ```
@@ -970,7 +970,7 @@ impl f64 {
970
970
/// Note that this follows the semantics specified in IEEE 754-2019.
971
971
///
972
972
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
973
- /// operand is conserved; see [explanation of NaN as a special value ](f32) for more info.
973
+ /// operand is conserved; see the [specification of NaN bit patterns ](f32#nan-bit-patterns ) for more info.
974
974
#[ must_use = "this returns the result of the comparison, without modifying either input" ]
975
975
#[ unstable( feature = "float_minimum_maximum" , issue = "91079" ) ]
976
976
#[ inline]
@@ -1005,7 +1005,7 @@ impl f64 {
1005
1005
/// Note that this follows the semantics specified in IEEE 754-2019.
1006
1006
///
1007
1007
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
1008
- /// operand is conserved; see [explanation of NaN as a special value ](f32) for more info.
1008
+ /// operand is conserved; see the [specification of NaN bit patterns ](f32#nan-bit-patterns ) for more info.
1009
1009
#[ must_use = "this returns the result of the comparison, without modifying either input" ]
1010
1010
#[ unstable( feature = "float_minimum_maximum" , issue = "91079" ) ]
1011
1011
#[ inline]
0 commit comments