diff options
-rw-r--r-- | src/register/fpscr.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/register/fpscr.rs b/src/register/fpscr.rs index 8de237a..7d8ea1a 100644 --- a/src/register/fpscr.rs +++ b/src/register/fpscr.rs @@ -268,25 +268,25 @@ pub enum RMode { impl RMode { /// Is Nearest the current rounding mode? #[inline] - fn is_nearest(self) -> bool { + pub fn is_nearest(self) -> bool { self == RMode::Nearest } /// Is Plus Infinity the current rounding mode? #[inline] - fn is_plus_infinity(self) -> bool { + pub fn is_plus_infinity(self) -> bool { self == RMode::PlusInfinity } /// Is Minus Infinity the current rounding mode? #[inline] - fn is_minus_infinity(self) -> bool { + pub fn is_minus_infinity(self) -> bool { self == RMode::MinusInfinity } /// Is Zero the current rounding mode? #[inline] - fn is_zero(self) -> bool { + pub fn is_zero(self) -> bool { self == RMode::Zero } } |