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

Method is_finite

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

Return True if self is finite; otherwise return False. A Decimal instance is considered finite if it is neither infinite nor a NaN.

(self)

Source from the content-addressed store, hash-verified

3127 return True
3128
3129 def is_finite(self):
3130 """Return True if self is finite; otherwise return False.
3131
3132 A Decimal instance is considered finite if it is neither
3133 infinite nor a NaN.
3134 """
3135 return not self._is_special
3136
3137 def is_infinite(self):
3138 """Return True if self is infinite; otherwise return False."""

Callers 2

_isfiniteFunction · 0.45
is_finiteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected