File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,25 +268,25 @@ pub enum RMode {
268
268
impl RMode {
269
269
/// Is Nearest the current rounding mode?
270
270
#[ inline]
271
- fn is_nearest ( self ) -> bool {
271
+ pub fn is_nearest ( self ) -> bool {
272
272
self == RMode :: Nearest
273
273
}
274
274
275
275
/// Is Plus Infinity the current rounding mode?
276
276
#[ inline]
277
- fn is_plus_infinity ( self ) -> bool {
277
+ pub fn is_plus_infinity ( self ) -> bool {
278
278
self == RMode :: PlusInfinity
279
279
}
280
280
281
281
/// Is Minus Infinity the current rounding mode?
282
282
#[ inline]
283
- fn is_minus_infinity ( self ) -> bool {
283
+ pub fn is_minus_infinity ( self ) -> bool {
284
284
self == RMode :: MinusInfinity
285
285
}
286
286
287
287
/// Is Zero the current rounding mode?
288
288
#[ inline]
289
- fn is_zero ( self ) -> bool {
289
+ pub fn is_zero ( self ) -> bool {
290
290
self == RMode :: Zero
291
291
}
292
292
}
You can’t perform that action at this time.
0 commit comments