MCPcopy Create free account
hub / github.com/python/cpython / logical_un_incr_digits

Function logical_un_incr_digits

Modules/_decimal/tests/randdec.py:416–422  ·  view source on GitHub ↗
(prec, itr)

Source from the content-addressed store, hash-verified

414 return z
415
416def logical_un_incr_digits(prec, itr):
417 if itr is None:
418 lst = range(prec+30)
419 else:
420 lst = sample(range(prec+30), itr)
421 for m in lst:
422 yield from_triple(1, bindigits(m), 0)
423
424def logical_bin_incr_digits(prec, itr):
425 if itr is None:

Callers 1

all_unaryFunction · 0.85

Calls 3

sampleFunction · 0.85
from_tripleFunction · 0.85
bindigitsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…