We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a2e422 commit f9f006dCopy full SHA for f9f006d
core/src/num/f16.rs
@@ -226,7 +226,7 @@ impl f16 {
226
/// See [explanation of NaN as a special value](f32) for more info.
227
#[inline]
228
#[must_use]
229
- #[unstable(feature = "f128", issue = "116909")]
+ #[unstable(feature = "f16", issue = "116909")]
230
pub fn is_sign_positive(self) -> bool {
231
!self.is_sign_negative()
232
}
@@ -239,7 +239,7 @@ impl f16 {
239
240
241
242
243
pub fn is_sign_negative(self) -> bool {
244
// IEEE754 says: isSignMinus(x) is true if and only if x has negative sign. isSignMinus
245
// applies to zeros and NaNs as well.
0 commit comments