We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rint
1 parent 4426b24 commit f47da78Copy full SHA for f47da78
library/core/src/intrinsics/mod.rs
@@ -2298,7 +2298,6 @@ pub const fn round_ties_even_f32(x: f32) -> f32;
2298
2299
/// Provided for compatibility with stdarch. DO NOT USE.
2300
#[inline(always)]
2301
-#[rustc_allow_const_fn_unstable(core_intrinsics)]
2302
pub unsafe fn rintf32(x: f32) -> f32 {
2303
round_ties_even_f32(x)
2304
}
@@ -2314,8 +2313,7 @@ pub const fn round_ties_even_f64(x: f64) -> f64;
2314
2313
2315
2316
2317
2318
-pub const unsafe fn rintf64(x: f64) -> f64 {
+pub unsafe fn rintf64(x: f64) -> f64 {
2319
round_ties_even_f64(x)
2320
2321
0 commit comments