File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,6 @@ impl f32 {
500
500
/// Returns `true` if the number is [subnormal].
501
501
///
502
502
/// ```
503
- /// #![feature(is_subnormal)]
504
503
/// let min = f32::MIN_POSITIVE; // 1.17549435e-38f32
505
504
/// let max = f32::MAX;
506
505
/// let lower_than_min = 1.0e-40_f32;
@@ -516,7 +515,7 @@ impl f32 {
516
515
/// assert!(lower_than_min.is_subnormal());
517
516
/// ```
518
517
/// [subnormal]: https://en.wikipedia.org/wiki/Denormal_number
519
- #[ unstable ( feature = "is_subnormal" , issue = "79288 " ) ]
518
+ #[ stable ( feature = "is_subnormal" , since = "1.53.0 " ) ]
520
519
#[ rustc_const_unstable( feature = "const_float_classify" , issue = "72505" ) ]
521
520
#[ inline]
522
521
pub const fn is_subnormal ( self ) -> bool {
Original file line number Diff line number Diff line change @@ -499,7 +499,6 @@ impl f64 {
499
499
/// Returns `true` if the number is [subnormal].
500
500
///
501
501
/// ```
502
- /// #![feature(is_subnormal)]
503
502
/// let min = f64::MIN_POSITIVE; // 2.2250738585072014e-308_f64
504
503
/// let max = f64::MAX;
505
504
/// let lower_than_min = 1.0e-308_f64;
@@ -515,7 +514,7 @@ impl f64 {
515
514
/// assert!(lower_than_min.is_subnormal());
516
515
/// ```
517
516
/// [subnormal]: https://en.wikipedia.org/wiki/Denormal_number
518
- #[ unstable ( feature = "is_subnormal" , issue = "79288 " ) ]
517
+ #[ stable ( feature = "is_subnormal" , since = "1.53.0 " ) ]
519
518
#[ rustc_const_unstable( feature = "const_float_classify" , issue = "72505" ) ]
520
519
#[ inline]
521
520
pub const fn is_subnormal ( self ) -> bool {
You can’t perform that action at this time.
0 commit comments