MCPcopy Index your code
hub / github.com/RustPython/RustPython / Etop

Method Etop

Lib/_pydecimal.py:4049–4051  ·  view source on GitHub ↗

Returns maximum exponent (= Emax - prec + 1)

(self)

Source from the content-addressed store, hash-verified

4047 return int(self.Emin - self.prec + 1)
4048
4049 def Etop(self):
4050 """Returns maximum exponent (= Emax - prec + 1)"""
4051 return int(self.Emax - self.prec + 1)
4052
4053 def _set_rounding(self, type):
4054 """Sets the rounding type.

Callers 5

_fixMethod · 0.80
normalizeMethod · 0.80
next_minusMethod · 0.80
next_plusMethod · 0.80
test_c_valid_contextMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_c_valid_contextMethod · 0.64