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 {
646646 /// [`INFINITY`]: Self::INFINITY
647647 /// [`MIN`]: Self::MIN
648648 /// [`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" ) ]
650651 pub const fn next_up ( self ) -> Self {
651652 // We must use strictly integer arithmetic to prevent denormals from
652653 // flushing to zero after an arithmetic operation on some platforms.
@@ -695,7 +696,8 @@ impl f32 {
695696 /// [`INFINITY`]: Self::INFINITY
696697 /// [`MIN`]: Self::MIN
697698 /// [`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" ) ]
699701 pub const fn next_down ( self ) -> Self {
700702 // We must use strictly integer arithmetic to prevent denormals from
701703 // 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 {
661661 /// [`INFINITY`]: Self::INFINITY
662662 /// [`MIN`]: Self::MIN
663663 /// [`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" ) ]
665666 pub const fn next_up ( self ) -> Self {
666667 // We must use strictly integer arithmetic to prevent denormals from
667668 // flushing to zero after an arithmetic operation on some platforms.
@@ -710,7 +711,8 @@ impl f64 {
710711 /// [`INFINITY`]: Self::INFINITY
711712 /// [`MIN`]: Self::MIN
712713 /// [`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" ) ]
714716 pub const fn next_down ( self ) -> Self {
715717 // We must use strictly integer arithmetic to prevent denormals from
716718 // flushing to zero after an arithmetic operation on some platforms.
You can’t perform that action at this time.
0 commit comments