@@ -2149,41 +2149,17 @@ pub unsafe fn truncf128(x: f128) -> f128;
21492149/// [`f16::round_ties_even`](../../std/primitive.f16.html#method.round_ties_even)
21502150#[ rustc_intrinsic]
21512151#[ rustc_nounwind]
2152- #[ cfg( not( bootstrap) ) ]
21532152pub fn round_ties_even_f16 ( x : f16 ) -> f16 ;
21542153
2155- /// To be removed on next bootstrap bump.
2156- #[ cfg( bootstrap) ]
2157- pub fn round_ties_even_f16 ( x : f16 ) -> f16 {
2158- #[ rustc_intrinsic]
2159- #[ rustc_nounwind]
2160- unsafe fn rintf16 ( x : f16 ) -> f16 ;
2161-
2162- // SAFETY: this intrinsic isn't actually unsafe
2163- unsafe { rintf16 ( x) }
2164- }
2165-
21662154/// Returns the nearest integer to an `f32`. Rounds half-way cases to the number with an even
21672155/// least significant digit.
21682156///
21692157/// The stabilized version of this intrinsic is
21702158/// [`f32::round_ties_even`](../../std/primitive.f32.html#method.round_ties_even)
21712159#[ rustc_intrinsic]
21722160#[ rustc_nounwind]
2173- #[ cfg( not( bootstrap) ) ]
21742161pub fn round_ties_even_f32 ( x : f32 ) -> f32 ;
21752162
2176- /// To be removed on next bootstrap bump.
2177- #[ cfg( bootstrap) ]
2178- pub fn round_ties_even_f32 ( x : f32 ) -> f32 {
2179- #[ rustc_intrinsic]
2180- #[ rustc_nounwind]
2181- unsafe fn rintf32 ( x : f32 ) -> f32 ;
2182-
2183- // SAFETY: this intrinsic isn't actually unsafe
2184- unsafe { rintf32 ( x) }
2185- }
2186-
21872163/// Provided for compatibility with stdarch. DO NOT USE.
21882164#[ inline( always) ]
21892165pub unsafe fn rintf32 ( x : f32 ) -> f32 {
@@ -2197,20 +2173,8 @@ pub unsafe fn rintf32(x: f32) -> f32 {
21972173/// [`f64::round_ties_even`](../../std/primitive.f64.html#method.round_ties_even)
21982174#[ rustc_intrinsic]
21992175#[ rustc_nounwind]
2200- #[ cfg( not( bootstrap) ) ]
22012176pub fn round_ties_even_f64 ( x : f64 ) -> f64 ;
22022177
2203- /// To be removed on next bootstrap bump.
2204- #[ cfg( bootstrap) ]
2205- pub fn round_ties_even_f64 ( x : f64 ) -> f64 {
2206- #[ rustc_intrinsic]
2207- #[ rustc_nounwind]
2208- unsafe fn rintf64 ( x : f64 ) -> f64 ;
2209-
2210- // SAFETY: this intrinsic isn't actually unsafe
2211- unsafe { rintf64 ( x) }
2212- }
2213-
22142178/// Provided for compatibility with stdarch. DO NOT USE.
22152179#[ inline( always) ]
22162180pub unsafe fn rintf64 ( x : f64 ) -> f64 {
@@ -2224,20 +2188,8 @@ pub unsafe fn rintf64(x: f64) -> f64 {
22242188/// [`f128::round_ties_even`](../../std/primitive.f128.html#method.round_ties_even)
22252189#[ rustc_intrinsic]
22262190#[ rustc_nounwind]
2227- #[ cfg( not( bootstrap) ) ]
22282191pub fn round_ties_even_f128 ( x : f128 ) -> f128 ;
22292192
2230- /// To be removed on next bootstrap bump.
2231- #[ cfg( bootstrap) ]
2232- pub fn round_ties_even_f128 ( x : f128 ) -> f128 {
2233- #[ rustc_intrinsic]
2234- #[ rustc_nounwind]
2235- unsafe fn rintf128 ( x : f128 ) -> f128 ;
2236-
2237- // SAFETY: this intrinsic isn't actually unsafe
2238- unsafe { rintf128 ( x) }
2239- }
2240-
22412193/// Returns the nearest integer to an `f16`. Rounds half-way cases away from zero.
22422194///
22432195/// The stabilized version of this intrinsic is
0 commit comments