This repository was archived by the owner on May 28, 2025. It is now read-only.
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 @@ -704,7 +704,8 @@ impl f32 {
704704 /// [`INFINITY`]: Self::INFINITY
705705 /// [`MIN`]: Self::MIN
706706 /// [`MAX`]: Self::MAX
707- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
707+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
708+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
708709 pub const fn next_up ( self ) -> Self {
709710 // We must use strictly integer arithmetic to prevent denormals from
710711 // flushing to zero after an arithmetic operation on some platforms.
@@ -753,7 +754,8 @@ impl f32 {
753754 /// [`INFINITY`]: Self::INFINITY
754755 /// [`MIN`]: Self::MIN
755756 /// [`MAX`]: Self::MAX
756- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
757+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
758+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
757759 pub const fn next_down ( self ) -> Self {
758760 // We must use strictly integer arithmetic to prevent denormals from
759761 // flushing to zero after an arithmetic operation on some platforms.
Original file line number Diff line number Diff line change @@ -714,7 +714,8 @@ impl f64 {
714714 /// [`INFINITY`]: Self::INFINITY
715715 /// [`MIN`]: Self::MIN
716716 /// [`MAX`]: Self::MAX
717- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
717+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
718+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
718719 pub const fn next_up ( self ) -> Self {
719720 // We must use strictly integer arithmetic to prevent denormals from
720721 // flushing to zero after an arithmetic operation on some platforms.
@@ -763,7 +764,8 @@ impl f64 {
763764 /// [`INFINITY`]: Self::INFINITY
764765 /// [`MIN`]: Self::MIN
765766 /// [`MAX`]: Self::MAX
766- #[ unstable( feature = "float_next_up_down" , issue = "none" ) ]
767+ #[ unstable( feature = "float_next_up_down" , issue = "91399" ) ]
768+ #[ rustc_const_unstable( feature = "float_next_up_down" , issue = "91399" ) ]
767769 pub const fn next_down ( self ) -> Self {
768770 // We must use strictly integer arithmetic to prevent denormals from
769771 // flushing to zero after an arithmetic operation on some platforms.
You can’t perform that action at this time.
0 commit comments