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

Function exponent_part

Modules/_decimal/tests/randdec.py:86–87  ·  view source on GitHub ↗
(maxexp)

Source from the content-addressed store, hash-verified

84 return str(randrange(maxexp))
85
86def exponent_part(maxexp):
87 return ''.join((indicator(), sign(), expdigits(maxexp)))
88
89def infinity():
90 if randrange(2): return 'Infinity'

Callers 1

numeric_valueFunction · 0.85

Calls 4

indicatorFunction · 0.85
expdigitsFunction · 0.85
signFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…