Commit d0876b85 authored by Tim Peters's avatar Tim Peters

test_division(): Added one larger digits value, to ensure that the

"lopsided Karatsuba" driver also gets some exercise.
parent 28b0e2a7
......@@ -92,7 +92,8 @@ def test_division(maxdigits=MAXDIGITS):
if verbose:
print "long / * % divmod"
digits = range(1, maxdigits+1) + range(KARATSUBA_CUTOFF,
KARATSUBA_CUTOFF + 15)
KARATSUBA_CUTOFF + 14)
digits.append(KARATSUBA_CUTOFF * 3)
for lenx in digits:
x = getran(lenx)
for leny in digits:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment