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

Method is_infinite

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

Return True if self is infinite; otherwise return False.

(self)

Source from the content-addressed store, hash-verified

3135 return not self._is_special
3136
3137 def is_infinite(self):
3138 """Return True if self is infinite; otherwise return False."""
3139 return self._exp == 'F'
3140
3141 def is_nan(self):
3142 """Return True if self is a qNaN or sNaN; otherwise return False."""

Callers 2

same_quantumMethod · 0.95
is_infiniteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected