MCPcopy Index your code
hub / github.com/python/cpython / Etop

Method Etop

Lib/_pydecimal.py:4052–4054  ·  view source on GitHub ↗

Returns maximum exponent (= Emax - prec + 1)

(self)

Source from the content-addressed store, hash-verified

4050 return int(self.Emin - self.prec + 1)
4051
4052 def Etop(self):
4053 """Returns maximum exponent (= Emax - prec + 1)"""
4054 return int(self.Emax - self.prec + 1)
4055
4056 def _set_rounding(self, type):
4057 """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