Lines Matching refs:exp_range
510 def all_unary(prec, exp_range, itr): argument
511 for a in un_close_to_pow10(prec, exp_range, itr):
513 for a in un_close_numbers(prec, exp_range, -exp_range, itr):
515 for a in un_incr_digits_tuple(prec, exp_range, itr):
524 yield (randdec(prec, exp_range),)
526 yield (randtuple(prec, exp_range),)
528 def unary_optarg(prec, exp_range, itr): argument
530 yield randdec(prec, exp_range), None
531 yield randdec(prec, exp_range), None, None
533 def all_binary(prec, exp_range, itr): argument
534 for a, b in bin_close_to_pow10(prec, exp_range, itr):
536 for a, b in bin_close_numbers(prec, exp_range, -exp_range, itr):
538 for a, b in bin_incr_digits(prec, exp_range, itr):
542 for a, b in bin_random_mixed_op(prec, exp_range, -exp_range, itr):
547 yield randdec(prec, exp_range), randdec(prec, exp_range)
549 def binary_optarg(prec, exp_range, itr): argument
551 yield randdec(prec, exp_range), randdec(prec, exp_range), None
552 yield randdec(prec, exp_range), randdec(prec, exp_range), None, None
554 def all_ternary(prec, exp_range, itr): argument
555 for a, b, c in tern_close_numbers(prec, exp_range, -exp_range, itr):
557 for a, b, c in tern_incr_digits(prec, exp_range, itr):
561 for a, b, c in tern_random_mixed_op(prec, exp_range, -exp_range, itr):
564 a = randdec(prec, 2*exp_range)
565 b = randdec(prec, 2*exp_range)
566 c = randdec(prec, 2*exp_range)
569 def ternary_optarg(prec, exp_range, itr): argument
571 a = randdec(prec, 2*exp_range)
572 b = randdec(prec, 2*exp_range)
573 c = randdec(prec, 2*exp_range)