about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-05-25 09:24:28 +0200
committerRalf Jung <post@ralfj.de>2025-05-25 09:24:28 +0200
commit396c5cafe70f735e3d0ea0c8982c6901bcf0023a (patch)
tree418ba4f993194c0ddf0352b51e5c1268d840cad9
parent3d86494a0d0131c32eb15e3a4b685707b9ff000d (diff)
downloadrust-396c5cafe70f735e3d0ea0c8982c6901bcf0023a.tar.gz
rust-396c5cafe70f735e3d0ea0c8982c6901bcf0023a.zip
clean up old rintf leftovers
-rw-r--r--library/core/src/intrinsics/mod.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/library/core/src/intrinsics/mod.rs b/library/core/src/intrinsics/mod.rs
index 23bafa778bc..e9fa3b1b3f6 100644
--- a/library/core/src/intrinsics/mod.rs
+++ b/library/core/src/intrinsics/mod.rs
@@ -2296,12 +2296,6 @@ pub fn round_ties_even_f16(x: f16) -> f16;
 #[rustc_nounwind]
 pub fn round_ties_even_f32(x: f32) -> f32;
 
-/// Provided for compatibility with stdarch. DO NOT USE.
-#[inline(always)]
-pub unsafe fn rintf32(x: f32) -> f32 {
-    round_ties_even_f32(x)
-}
-
 /// Returns the nearest integer to an `f64`. Rounds half-way cases to the number with an even
 /// least significant digit.
 ///
@@ -2311,12 +2305,6 @@ pub unsafe fn rintf32(x: f32) -> f32 {
 #[rustc_nounwind]
 pub fn round_ties_even_f64(x: f64) -> f64;
 
-/// Provided for compatibility with stdarch. DO NOT USE.
-#[inline(always)]
-pub unsafe fn rintf64(x: f64) -> f64 {
-    round_ties_even_f64(x)
-}
-
 /// Returns the nearest integer to an `f128`. Rounds half-way cases to the number with an even
 /// least significant digit.
 ///