Skip to content

Commit f47da78

Browse files
committed
revert: undo changes to rint functions
1 parent 4426b24 commit f47da78

File tree

1 file changed

+1
-3
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-3
lines changed

library/core/src/intrinsics/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,6 @@ pub const fn round_ties_even_f32(x: f32) -> f32;
22982298

22992299
/// Provided for compatibility with stdarch. DO NOT USE.
23002300
#[inline(always)]
2301-
#[rustc_allow_const_fn_unstable(core_intrinsics)]
23022301
pub unsafe fn rintf32(x: f32) -> f32 {
23032302
round_ties_even_f32(x)
23042303
}
@@ -2314,8 +2313,7 @@ pub const fn round_ties_even_f64(x: f64) -> f64;
23142313

23152314
/// Provided for compatibility with stdarch. DO NOT USE.
23162315
#[inline(always)]
2317-
#[rustc_allow_const_fn_unstable(core_intrinsics)]
2318-
pub const unsafe fn rintf64(x: f64) -> f64 {
2316+
pub unsafe fn rintf64(x: f64) -> f64 {
23192317
round_ties_even_f64(x)
23202318
}
23212319

0 commit comments

Comments
 (0)