MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _cmp

Method _cmp

Lib/decimal.py:800–845  ·  view source on GitHub ↗

Compare the two non-NaN decimal instances self and other. Returns -1 if self < other, 0 if self == other and 1 if self > other. This routine is for internal use only.

(self, other)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

__eq__Method · 0.95
__ne__Method · 0.95
__lt__Method · 0.95
__le__Method · 0.95
__gt__Method · 0.95
__ge__Method · 0.95
compareMethod · 0.95
maxMethod · 0.95
minMethod · 0.95
next_towardMethod · 0.95
max_magMethod · 0.80
min_magMethod · 0.80

Calls 2

_isinfinityMethod · 0.95
adjustedMethod · 0.95

Tested by

no test coverage detected