MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / is_subnormal

Method is_subnormal

tools/python-3.11.9-amd64/Lib/_pydecimal.py:3165–3171  ·  view source on GitHub ↗

Return True if self is subnormal; otherwise return False.

(self, context=None)

Source from the content-addressed store, hash-verified

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."""

Callers 2

number_classMethod · 0.95
is_subnormalMethod · 0.45

Calls 2

adjustedMethod · 0.95
getcontextFunction · 0.85

Tested by

no test coverage detected