X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=testdata%2Fbignum.py;h=15ffe319b42d1637bf140d39b5ab5bde32f5487d;hb=095072fa46b2d7b8beafaddb2f873d2f500a1e10;hp=b2a6614b03ad2ee6763d0081d86b336f2d523c15;hpb=e01104f8998163ddb3f893e8c5d2d1691989e36e;p=PuTTY.git diff --git a/testdata/bignum.py b/testdata/bignum.py index b2a6614b..15ffe319 100644 --- a/testdata/bignum.py +++ b/testdata/bignum.py @@ -103,6 +103,21 @@ for i in range(1,4200): a, b, p = findprod((1<= 0 + print "divmod", hexstr(n), hexstr(d), hexstr(n/d), hexstr(n%d) + # Simple tests of modmul. for ai in range(20, 200, 60): a = sqrt(3<<(2*ai-1))