File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -763,15 +763,6 @@ impl f64 {
763763 !self . is_sign_negative ( )
764764 }
765765
766- #[ must_use]
767- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
768- #[ deprecated( since = "1.0.0" , note = "renamed to is_sign_positive" ) ]
769- #[ inline]
770- #[ doc( hidden) ]
771- pub fn is_positive ( self ) -> bool {
772- self . is_sign_positive ( )
773- }
774-
775766 /// Returns `true` if `self` has a negative sign, including `-0.0`, NaNs with
776767 /// negative sign bit and negative infinity.
777768 ///
@@ -799,15 +790,6 @@ impl f64 {
799790 self . to_bits ( ) & Self :: SIGN_MASK != 0
800791 }
801792
802- #[ must_use]
803- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
804- #[ deprecated( since = "1.0.0" , note = "renamed to is_sign_negative" ) ]
805- #[ inline]
806- #[ doc( hidden) ]
807- pub fn is_negative ( self ) -> bool {
808- self . is_sign_negative ( )
809- }
810-
811793 /// Returns the least number greater than `self`.
812794 ///
813795 /// Let `TINY` be the smallest representable positive `f64`. Then,
You can’t perform that action at this time.
0 commit comments