Skip to content

Commit 2bcc26d

Browse files
authored
Unrolled build for #141533
Rollup merge of #141533 - RalfJung:rintf, r=bjorn3 clean up old rintf leftovers As usual stdarch needed special treatment due to rust-lang/stdarch#1655, and apparently I forgot to clean up these leftovers here. They can be removed now.
2 parents 5f025f3 + 396c5ca commit 2bcc26d

File tree

1 file changed

+0
-12
lines changed
  • library/core/src/intrinsics

1 file changed

+0
-12
lines changed

library/core/src/intrinsics/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2285,12 +2285,6 @@ pub fn round_ties_even_f16(x: f16) -> f16;
22852285
#[rustc_nounwind]
22862286
pub fn round_ties_even_f32(x: f32) -> f32;
22872287

2288-
/// Provided for compatibility with stdarch. DO NOT USE.
2289-
#[inline(always)]
2290-
pub unsafe fn rintf32(x: f32) -> f32 {
2291-
round_ties_even_f32(x)
2292-
}
2293-
22942288
/// Returns the nearest integer to an `f64`. Rounds half-way cases to the number with an even
22952289
/// least significant digit.
22962290
///
@@ -2300,12 +2294,6 @@ pub unsafe fn rintf32(x: f32) -> f32 {
23002294
#[rustc_nounwind]
23012295
pub fn round_ties_even_f64(x: f64) -> f64;
23022296

2303-
/// Provided for compatibility with stdarch. DO NOT USE.
2304-
#[inline(always)]
2305-
pub unsafe fn rintf64(x: f64) -> f64 {
2306-
round_ties_even_f64(x)
2307-
}
2308-
23092297
/// Returns the nearest integer to an `f128`. Rounds half-way cases to the number with an even
23102298
/// least significant digit.
23112299
///

0 commit comments

Comments
 (0)