@@ -334,7 +334,7 @@ impl f128 {
334334 #[ inline]
335335 #[ must_use]
336336 #[ unstable( feature = "f128" , issue = "116909" ) ]
337- #[ rustc_allow_const_fn_unstable ( const_float_methods ) ] // for `abs`
337+ #[ rustc_const_unstable ( feature = "f128" , issue = "116909" ) ]
338338 pub const fn is_finite ( self ) -> bool {
339339 // There's no need to handle NaN separately: if self is NaN,
340340 // the comparison is not true, exactly as desired.
@@ -612,7 +612,6 @@ impl f128 {
612612 /// ```
613613 #[ inline]
614614 #[ unstable( feature = "f128" , issue = "116909" ) ]
615- #[ rustc_const_unstable( feature = "const_float_methods" , issue = "130843" ) ]
616615 #[ must_use = "this returns the result of the operation, without modifying the original" ]
617616 pub const fn recip ( self ) -> Self {
618617 1.0 / self
@@ -633,7 +632,6 @@ impl f128 {
633632 /// ```
634633 #[ inline]
635634 #[ unstable( feature = "f128" , issue = "116909" ) ]
636- #[ rustc_const_unstable( feature = "const_float_methods" , issue = "130843" ) ]
637635 #[ must_use = "this returns the result of the operation, without modifying the original" ]
638636 pub const fn to_degrees ( self ) -> Self {
639637 // Use a literal for better precision.
@@ -657,7 +655,6 @@ impl f128 {
657655 /// ```
658656 #[ inline]
659657 #[ unstable( feature = "f128" , issue = "116909" ) ]
660- #[ rustc_const_unstable( feature = "const_float_methods" , issue = "130843" ) ]
661658 #[ must_use = "this returns the result of the operation, without modifying the original" ]
662659 pub const fn to_radians ( self ) -> f128 {
663660 // Use a literal for better precision.
@@ -686,7 +683,7 @@ impl f128 {
686683 /// ```
687684 #[ inline]
688685 #[ unstable( feature = "f128" , issue = "116909" ) ]
689- #[ rustc_const_unstable( feature = "const_float_methods " , issue = "130843 " ) ]
686+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909 " ) ]
690687 #[ must_use = "this returns the result of the comparison, without modifying either input" ]
691688 pub const fn max ( self , other : f128 ) -> f128 {
692689 intrinsics:: maxnumf128 ( self , other)
@@ -712,7 +709,7 @@ impl f128 {
712709 /// ```
713710 #[ inline]
714711 #[ unstable( feature = "f128" , issue = "116909" ) ]
715- #[ rustc_const_unstable( feature = "const_float_methods " , issue = "130843 " ) ]
712+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909 " ) ]
716713 #[ must_use = "this returns the result of the comparison, without modifying either input" ]
717714 pub const fn min ( self , other : f128 ) -> f128 {
718715 intrinsics:: minnumf128 ( self , other)
@@ -1251,7 +1248,6 @@ impl f128 {
12511248 /// ```
12521249 #[ inline]
12531250 #[ unstable( feature = "f128" , issue = "116909" ) ]
1254- #[ rustc_const_unstable( feature = "const_float_methods" , issue = "130843" ) ]
12551251 #[ must_use = "method returns a new number and does not mutate the original value" ]
12561252 pub const fn clamp ( mut self , min : f128 , max : f128 ) -> f128 {
12571253 const_assert ! (
@@ -1292,7 +1288,7 @@ impl f128 {
12921288 /// ```
12931289 #[ inline]
12941290 #[ unstable( feature = "f128" , issue = "116909" ) ]
1295- #[ rustc_const_unstable( feature = "const_float_methods " , issue = "130843 " ) ]
1291+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909 " ) ]
12961292 #[ must_use = "method returns a new number and does not mutate the original value" ]
12971293 pub const fn abs ( self ) -> Self {
12981294 // FIXME(f16_f128): replace with `intrinsics::fabsf128` when available
@@ -1322,7 +1318,7 @@ impl f128 {
13221318 /// ```
13231319 #[ inline]
13241320 #[ unstable( feature = "f128" , issue = "116909" ) ]
1325- #[ rustc_const_unstable( feature = "const_float_methods " , issue = "130843 " ) ]
1321+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909 " ) ]
13261322 #[ must_use = "method returns a new number and does not mutate the original value" ]
13271323 pub const fn signum ( self ) -> f128 {
13281324 if self . is_nan ( ) { Self :: NAN } else { 1.0_f128 . copysign ( self ) }
@@ -1360,7 +1356,7 @@ impl f128 {
13601356 /// ```
13611357 #[ inline]
13621358 #[ unstable( feature = "f128" , issue = "116909" ) ]
1363- #[ rustc_const_unstable( feature = "const_float_methods " , issue = "130843 " ) ]
1359+ #[ rustc_const_unstable( feature = "f128 " , issue = "116909 " ) ]
13641360 #[ must_use = "method returns a new number and does not mutate the original value" ]
13651361 pub const fn copysign ( self , sign : f128 ) -> f128 {
13661362 // SAFETY: this is actually a safe intrinsic
0 commit comments