File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2785,6 +2785,12 @@ pub fn round_ties_even_f32(x: f32) -> f32 {
2785
2785
unsafe { rintf32 ( x) }
2786
2786
}
2787
2787
2788
+ /// Provided for compatibility with stdarch. DO NOT USE.
2789
+ #[ inline( always) ]
2790
+ pub unsafe fn rintf32 ( x : f32 ) -> f32 {
2791
+ round_ties_even_f32 ( x)
2792
+ }
2793
+
2788
2794
/// Returns the nearest integer to an `f64`. Rounds half-way cases to the number with an even
2789
2795
/// least significant digit.
2790
2796
///
@@ -2812,6 +2818,12 @@ pub fn round_ties_even_f64(x: f64) -> f64 {
2812
2818
unsafe { rintf64 ( x) }
2813
2819
}
2814
2820
2821
+ /// Provided for compatibility with stdarch. DO NOT USE.
2822
+ #[ inline( always) ]
2823
+ pub unsafe fn rintf64 ( x : f64 ) -> f64 {
2824
+ round_ties_even_f64 ( x)
2825
+ }
2826
+
2815
2827
/// Returns the nearest integer to an `f128`. Rounds half-way cases to the number with an even
2816
2828
/// least significant digit.
2817
2829
///
You can’t perform that action at this time.
0 commit comments