@@ -2307,41 +2307,17 @@ pub unsafe fn truncf128(x: f128) -> f128;
2307
2307
/// [`f16::round_ties_even`](../../std/primitive.f16.html#method.round_ties_even)
2308
2308
#[ rustc_intrinsic]
2309
2309
#[ rustc_nounwind]
2310
- #[ cfg( not( bootstrap) ) ]
2311
2310
pub fn round_ties_even_f16 ( x : f16 ) -> f16 ;
2312
2311
2313
- /// To be removed on next bootstrap bump.
2314
- #[ cfg( bootstrap) ]
2315
- pub fn round_ties_even_f16 ( x : f16 ) -> f16 {
2316
- #[ rustc_intrinsic]
2317
- #[ rustc_nounwind]
2318
- unsafe fn rintf16 ( x : f16 ) -> f16 ;
2319
-
2320
- // SAFETY: this intrinsic isn't actually unsafe
2321
- unsafe { rintf16 ( x) }
2322
- }
2323
-
2324
2312
/// Returns the nearest integer to an `f32`. Rounds half-way cases to the number with an even
2325
2313
/// least significant digit.
2326
2314
///
2327
2315
/// The stabilized version of this intrinsic is
2328
2316
/// [`f32::round_ties_even`](../../std/primitive.f32.html#method.round_ties_even)
2329
2317
#[ rustc_intrinsic]
2330
2318
#[ rustc_nounwind]
2331
- #[ cfg( not( bootstrap) ) ]
2332
2319
pub fn round_ties_even_f32 ( x : f32 ) -> f32 ;
2333
2320
2334
- /// To be removed on next bootstrap bump.
2335
- #[ cfg( bootstrap) ]
2336
- pub fn round_ties_even_f32 ( x : f32 ) -> f32 {
2337
- #[ rustc_intrinsic]
2338
- #[ rustc_nounwind]
2339
- unsafe fn rintf32 ( x : f32 ) -> f32 ;
2340
-
2341
- // SAFETY: this intrinsic isn't actually unsafe
2342
- unsafe { rintf32 ( x) }
2343
- }
2344
-
2345
2321
/// Provided for compatibility with stdarch. DO NOT USE.
2346
2322
#[ inline( always) ]
2347
2323
pub unsafe fn rintf32 ( x : f32 ) -> f32 {
@@ -2355,20 +2331,8 @@ pub unsafe fn rintf32(x: f32) -> f32 {
2355
2331
/// [`f64::round_ties_even`](../../std/primitive.f64.html#method.round_ties_even)
2356
2332
#[ rustc_intrinsic]
2357
2333
#[ rustc_nounwind]
2358
- #[ cfg( not( bootstrap) ) ]
2359
2334
pub fn round_ties_even_f64 ( x : f64 ) -> f64 ;
2360
2335
2361
- /// To be removed on next bootstrap bump.
2362
- #[ cfg( bootstrap) ]
2363
- pub fn round_ties_even_f64 ( x : f64 ) -> f64 {
2364
- #[ rustc_intrinsic]
2365
- #[ rustc_nounwind]
2366
- unsafe fn rintf64 ( x : f64 ) -> f64 ;
2367
-
2368
- // SAFETY: this intrinsic isn't actually unsafe
2369
- unsafe { rintf64 ( x) }
2370
- }
2371
-
2372
2336
/// Provided for compatibility with stdarch. DO NOT USE.
2373
2337
#[ inline( always) ]
2374
2338
pub unsafe fn rintf64 ( x : f64 ) -> f64 {
@@ -2382,20 +2346,8 @@ pub unsafe fn rintf64(x: f64) -> f64 {
2382
2346
/// [`f128::round_ties_even`](../../std/primitive.f128.html#method.round_ties_even)
2383
2347
#[ rustc_intrinsic]
2384
2348
#[ rustc_nounwind]
2385
- #[ cfg( not( bootstrap) ) ]
2386
2349
pub fn round_ties_even_f128 ( x : f128 ) -> f128 ;
2387
2350
2388
- /// To be removed on next bootstrap bump.
2389
- #[ cfg( bootstrap) ]
2390
- pub fn round_ties_even_f128 ( x : f128 ) -> f128 {
2391
- #[ rustc_intrinsic]
2392
- #[ rustc_nounwind]
2393
- unsafe fn rintf128 ( x : f128 ) -> f128 ;
2394
-
2395
- // SAFETY: this intrinsic isn't actually unsafe
2396
- unsafe { rintf128 ( x) }
2397
- }
2398
-
2399
2351
/// Returns the nearest integer to an `f16`. Rounds half-way cases away from zero.
2400
2352
///
2401
2353
/// The stabilized version of this intrinsic is
0 commit comments