(prec, itr)
| 422 | yield from_triple(1, bindigits(m), 0) |
| 423 | |
| 424 | def logical_bin_incr_digits(prec, itr): |
| 425 | if itr is None: |
| 426 | lst1 = range(prec+30) |
| 427 | lst2 = range(prec+30) |
| 428 | else: |
| 429 | lst1 = sample(range(prec+30), itr) |
| 430 | lst2 = sample(range(prec+30), itr) |
| 431 | for m in lst1: |
| 432 | x = from_triple(1, bindigits(m), 0) |
| 433 | yield x, x |
| 434 | for m in lst1: |
| 435 | for n in lst2: |
| 436 | x = from_triple(1, bindigits(m), 0) |
| 437 | y = from_triple(1, bindigits(n), 0) |
| 438 | yield x, y |
| 439 | |
| 440 | |
| 441 | def randint(): |
no test coverage detected
searching dependent graphs…