File tree 2 files changed +8
-4
lines changed 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,8 @@ impl f32 {
704
704
/// [`INFINITY`]: Self::INFINITY
705
705
/// [`MIN`]: Self::MIN
706
706
/// [`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" ) ]
708
709
pub const fn next_up ( self ) -> Self {
709
710
// We must use strictly integer arithmetic to prevent denormals from
710
711
// flushing to zero after an arithmetic operation on some platforms.
@@ -753,7 +754,8 @@ impl f32 {
753
754
/// [`INFINITY`]: Self::INFINITY
754
755
/// [`MIN`]: Self::MIN
755
756
/// [`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" ) ]
757
759
pub const fn next_down ( self ) -> Self {
758
760
// We must use strictly integer arithmetic to prevent denormals from
759
761
// 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 {
714
714
/// [`INFINITY`]: Self::INFINITY
715
715
/// [`MIN`]: Self::MIN
716
716
/// [`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" ) ]
718
719
pub const fn next_up ( self ) -> Self {
719
720
// We must use strictly integer arithmetic to prevent denormals from
720
721
// flushing to zero after an arithmetic operation on some platforms.
@@ -763,7 +764,8 @@ impl f64 {
763
764
/// [`INFINITY`]: Self::INFINITY
764
765
/// [`MIN`]: Self::MIN
765
766
/// [`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" ) ]
767
769
pub const fn next_down ( self ) -> Self {
768
770
// We must use strictly integer arithmetic to prevent denormals from
769
771
// flushing to zero after an arithmetic operation on some platforms.
You can’t perform that action at this time.
0 commit comments