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

Function expdigits

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

Source from the content-addressed store, hash-verified

81 return ''.join((dot(), digits(maxprec)))
82
83def expdigits(maxexp):
84 return str(randrange(maxexp))
85
86def exponent_part(maxexp):
87 return ''.join((indicator(), sign(), expdigits(maxexp)))

Callers 1

exponent_partFunction · 0.85

Calls 1

strFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…