Skip to content

Commit e01e82a

Browse files
committed
remove forever-deprecated and hidden f64 methods
1 parent 5b61449 commit e01e82a

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

library/core/src/num/f64.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)