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

Method __ge__

tools/python-3.11.9-amd64/Lib/_pydecimal.py:926–933  ·  view source on GitHub ↗
(self, other, context=None)

Source from the content-addressed store, hash-verified

924 return self._cmp(other) > 0
925
926 def __ge__(self, other, context=None):
927 self, other = _convert_for_comparison(self, other)
928 if other is NotImplemented:
929 return other
930 ans = self._compare_check_nans(other, context)
931 if ans:
932 return False
933 return self._cmp(other) >= 0
934
935 def compare(self, other, context=None):
936 """Compare self to other. Return a decimal value:

Callers

nothing calls this directly

Calls 3

_compare_check_nansMethod · 0.95
_cmpMethod · 0.95
_convert_for_comparisonFunction · 0.85

Tested by

no test coverage detected