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 {
617617 /// negative sign bit and negative infinity. Note that IEEE-745 doesn't assign any
618618 /// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
619619 /// 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.
621621 /// See [explanation of NaN as a special value](f32) for more info.
622622 ///
623623 /// ```
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ impl f64 {
625625 /// negative sign bit and negative infinity. Note that IEEE-745 doesn't assign any
626626 /// meaning to the sign bit in case of a NaN, and as Rust doesn't guarantee that
627627 /// 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.
629629 /// See [explanation of NaN as a special value](f32) for more info.
630630 ///
631631 /// ```
You can’t perform that action at this time.
0 commit comments