File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,8 @@ impl f32 {
646
646
/// [`INFINITY`]: Self::INFINITY
647
647
/// [`MIN`]: Self::MIN
648
648
/// [`MAX`]: Self::MAX
649
- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
649
+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
650
+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
650
651
pub const fn next_up ( self ) -> Self {
651
652
// We must use strictly integer arithmetic to prevent denormals from
652
653
// flushing to zero after an arithmetic operation on some platforms.
@@ -695,7 +696,8 @@ impl f32 {
695
696
/// [`INFINITY`]: Self::INFINITY
696
697
/// [`MIN`]: Self::MIN
697
698
/// [`MAX`]: Self::MAX
698
- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
699
+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
700
+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
699
701
pub const fn next_down ( self ) -> Self {
700
702
// We must use strictly integer arithmetic to prevent denormals from
701
703
// flushing to zero after an arithmetic operation on some platforms.
Original file line number Diff line number Diff line change @@ -661,7 +661,8 @@ impl f64 {
661
661
/// [`INFINITY`]: Self::INFINITY
662
662
/// [`MIN`]: Self::MIN
663
663
/// [`MAX`]: Self::MAX
664
- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
664
+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
665
+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
665
666
pub const fn next_up ( self ) -> Self {
666
667
// We must use strictly integer arithmetic to prevent denormals from
667
668
// flushing to zero after an arithmetic operation on some platforms.
@@ -710,7 +711,8 @@ impl f64 {
710
711
/// [`INFINITY`]: Self::INFINITY
711
712
/// [`MIN`]: Self::MIN
712
713
/// [`MAX`]: Self::MAX
713
- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
714
+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
715
+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
714
716
pub const fn next_down ( self ) -> Self {
715
717
// We must use strictly integer arithmetic to prevent denormals from
716
718
// flushing to zero after an arithmetic operation on some platforms.
You can’t perform that action at this time.
0 commit comments