File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -617,7 +617,7 @@ impl f32 {
617
617
/// negative sign bit and negative infinity. Note that IEEE-745 doesn't assign any
618
618
/// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
619
619
/// the bit pattern of NaNs are conserved over arithmetic operations, the result of
620
- /// `is_sign_positive ` on a NaN might produce an unexpected result in some cases.
620
+ /// `is_sign_negative ` on a NaN might produce an unexpected result in some cases.
621
621
/// See [explanation of NaN as a special value](f32) for more info.
622
622
///
623
623
/// ```
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ impl f64 {
625
625
/// negative sign bit and negative infinity. Note that IEEE-745 doesn't assign any
626
626
/// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
627
627
/// the bit pattern of NaNs are conserved over arithmetic operations, the result of
628
- /// `is_sign_positive ` on a NaN might produce an unexpected result in some cases.
628
+ /// `is_sign_negative ` on a NaN might produce an unexpected result in some cases.
629
629
/// See [explanation of NaN as a special value](f32) for more info.
630
630
///
631
631
/// ```
You can’t perform that action at this time.
0 commit comments