diff --git a/library/core/src/num/f16.rs b/library/core/src/num/f16.rs index e3601db1fcf99..4290245ab2983 100644 --- a/library/core/src/num/f16.rs +++ b/library/core/src/num/f16.rs @@ -226,7 +226,7 @@ impl f16 { /// See [explanation of NaN as a special value](f32) for more info. #[inline] #[must_use] - #[unstable(feature = "f128", issue = "116909")] + #[unstable(feature = "f16", issue = "116909")] pub fn is_sign_positive(self) -> bool { !self.is_sign_negative() } @@ -239,7 +239,7 @@ impl f16 { /// See [explanation of NaN as a special value](f32) for more info. #[inline] #[must_use] - #[unstable(feature = "f128", issue = "116909")] + #[unstable(feature = "f16", issue = "116909")] pub fn is_sign_negative(self) -> bool { // IEEE754 says: isSignMinus(x) is true if and only if x has negative sign. isSignMinus // applies to zeros and NaNs as well.