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

Method is_snan

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

Return True if self is a signaling NaN; otherwise return False.

(self)

Source from the content-addressed store, hash-verified

3159 return self._sign == 1
3160
3161 def is_snan(self):
3162 """Return True if self is a signaling NaN; otherwise return False."""
3163 return self._exp == 'N'
3164
3165 def is_subnormal(self, context=None):
3166 """Return True if self is subnormal; otherwise return False."""

Callers 5

_compare_check_nansMethod · 0.95
__hash__Method · 0.95
__float__Method · 0.95
number_classMethod · 0.95
is_snanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected