Return True if self is a normal number; otherwise return False.
(self, context=None)
| 3098 | return self._exp in ('n', 'N') |
| 3099 | |
| 3100 | def is_normal(self, context=None): |
| 3101 | """Return True if self is a normal number; otherwise return False.""" |
| 3102 | if self._is_special or not self: |
| 3103 | return False |
| 3104 | if context is None: |
| 3105 | context = getcontext() |
| 3106 | return context.Emin <= self.adjusted() |
| 3107 | |
| 3108 | def is_qnan(self): |
| 3109 | """Return True if self is a quiet NaN; otherwise return False.""" |