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

Function randdec

Modules/_decimal/tests/randdec.py:116–117  ·  view source on GitHub ↗
(maxprec, maxexp)

Source from the content-addressed store, hash-verified

114 return ''.join((sign(), numeric_value(maxprec, maxexp)))
115
116def randdec(maxprec, maxexp):
117 return numeric_string(maxprec, maxexp)
118
119def rand_adjexp(maxprec, maxadjexp):
120 d = digits(maxprec)

Callers 10

bin_close_numbersFunction · 0.85
tern_close_numbersFunction · 0.85
bin_random_mixed_opFunction · 0.85
tern_random_mixed_opFunction · 0.85
all_unaryFunction · 0.85
unary_optargFunction · 0.85
all_binaryFunction · 0.85
binary_optargFunction · 0.85
all_ternaryFunction · 0.85
ternary_optargFunction · 0.85

Calls 1

numeric_stringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…