Return True if self is subnormal; otherwise return False.
(self, context=None)
| 3163 | return self._exp == 'N' |
| 3164 | |
| 3165 | def is_subnormal(self, context=None): |
| 3166 | """Return True if self is subnormal; otherwise return False.""" |
| 3167 | if self._is_special or not self: |
| 3168 | return False |
| 3169 | if context is None: |
| 3170 | context = getcontext() |
| 3171 | return self.adjusted() < context.Emin |
| 3172 | |
| 3173 | def is_zero(self): |
| 3174 | """Return True if self is a zero; otherwise return False.""" |
no test coverage detected