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

Function randsign

Modules/_decimal/tests/randdec.py:387–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385
386
387def randsign():
388 return (1, -1)[randrange(2)]
389
390# If itr == None, test all combinations of digit lengths up to prec + 30
391def tern_incr_digits(prec, maxexp, itr):

Callers 1

tern_incr_digitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…