@@ -2149,41 +2149,17 @@ pub unsafe fn truncf128(x: f128) -> f128;
2149
2149
/// [`f16::round_ties_even`](../../std/primitive.f16.html#method.round_ties_even)
2150
2150
#[ rustc_intrinsic]
2151
2151
#[ rustc_nounwind]
2152
- #[ cfg( not( bootstrap) ) ]
2153
2152
pub fn round_ties_even_f16 ( x : f16 ) -> f16 ;
2154
2153
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
-
2166
2154
/// Returns the nearest integer to an `f32`. Rounds half-way cases to the number with an even
2167
2155
/// least significant digit.
2168
2156
///
2169
2157
/// The stabilized version of this intrinsic is
2170
2158
/// [`f32::round_ties_even`](../../std/primitive.f32.html#method.round_ties_even)
2171
2159
#[ rustc_intrinsic]
2172
2160
#[ rustc_nounwind]
2173
- #[ cfg( not( bootstrap) ) ]
2174
2161
pub fn round_ties_even_f32 ( x : f32 ) -> f32 ;
2175
2162
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
-
2187
2163
/// Provided for compatibility with stdarch. DO NOT USE.
2188
2164
#[ inline( always) ]
2189
2165
pub unsafe fn rintf32 ( x : f32 ) -> f32 {
@@ -2197,20 +2173,8 @@ pub unsafe fn rintf32(x: f32) -> f32 {
2197
2173
/// [`f64::round_ties_even`](../../std/primitive.f64.html#method.round_ties_even)
2198
2174
#[ rustc_intrinsic]
2199
2175
#[ rustc_nounwind]
2200
- #[ cfg( not( bootstrap) ) ]
2201
2176
pub fn round_ties_even_f64 ( x : f64 ) -> f64 ;
2202
2177
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
-
2214
2178
/// Provided for compatibility with stdarch. DO NOT USE.
2215
2179
#[ inline( always) ]
2216
2180
pub unsafe fn rintf64 ( x : f64 ) -> f64 {
@@ -2224,20 +2188,8 @@ pub unsafe fn rintf64(x: f64) -> f64 {
2224
2188
/// [`f128::round_ties_even`](../../std/primitive.f128.html#method.round_ties_even)
2225
2189
#[ rustc_intrinsic]
2226
2190
#[ rustc_nounwind]
2227
- #[ cfg( not( bootstrap) ) ]
2228
2191
pub fn round_ties_even_f128 ( x : f128 ) -> f128 ;
2229
2192
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
-
2241
2193
/// Returns the nearest integer to an `f16`. Rounds half-way cases away from zero.
2242
2194
///
2243
2195
/// The stabilized version of this intrinsic is
0 commit comments