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

Method _fix

Lib/decimal.py:1640–1730  ·  view source on GitHub ↗

Round if it is necessary to keep self within prec precision. Rounds and fixes the exponent. Does not raise on a sNaN. Arguments: self - Decimal instance context - context used.

(self, context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

__pos__Method · 0.95
__add__Method · 0.95
remainder_nearMethod · 0.95
normalizeMethod · 0.95
maxMethod · 0.95
minMethod · 0.95
log10Method · 0.95
logbMethod · 0.95
max_magMethod · 0.95
min_magMethod · 0.95
next_minusMethod · 0.95
next_plusMethod · 0.95

Calls 8

_isnanMethod · 0.95
_fix_nanMethod · 0.95
DecimalClass · 0.85
_dec_from_tripleFunction · 0.85
strFunction · 0.85
EtinyMethod · 0.80
EtopMethod · 0.80
_raise_errorMethod · 0.80

Tested by

no test coverage detected