X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/81578196d5732e443c75768ba9118c581c407cc7..45c0fd363937c6e9b05da04a9167e9912c05ca0c:/tests/mpx diff --git a/tests/mpx b/tests/mpx index e54af08..e30e91a 100644 --- a/tests/mpx +++ b/tests/mpx @@ -1,6 +1,6 @@ # Test vectors for low-level MP functions # -# $Id: mpx,v 1.11 2003/05/16 09:09:24 mdw Exp $ +# $Id: mpx,v 1.12 2004/04/01 12:50:41 mdw Exp $ # --- Load-store tests --- # @@ -319,15 +319,15 @@ uadd { 00 00 00; 00 01 01; - 01 00 01; + 01 00 01; # --- Carry propagation tests --- ffffffffffffffffffffffffffffffffffffffffffffffffffffffff - 01 + 01 0100000000000000000000000000000000000000000000000000000000; - 01 + 01 ffffffffffffffffffffffffffffffffffffffffffffffffffffffff 0100000000000000000000000000000000000000000000000000000000; @@ -524,7 +524,7 @@ umul { 45 01 45; # --- Random tests --- - + 4162c300b3e157e9cd1301d499c20121 10549901fc6dcb85882440087bd398ff 042bc7ac8fe08ceefb098f286cdd84fd037906ead144324e361c488a221db7df; @@ -607,7 +607,7 @@ umul { # --- Karatsuba regression --- # - # This bug was caused by kmul (a) choosing the split point too low on + # This bug was caused by kmul (a) choosing the split point too low on # odd-sized inputs and (b) not allocating enough workspace. 21a9269d7b8b63cf18faa933b3c868ba1e8cb3f00b57e197709abf96eeb9bf12e8fe22b3 @@ -881,4 +881,10 @@ udiv { 184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000 0117d3db34ad005954459be9abedd0e5deb4ea0000000000000000 00; + + ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff + 7fffffffffffffffe487ed5110b4611a62633145c06e0e68948127044533e63a0105df531d89cd9128a5043cc71a026ef7ca8cd9e69d218d98158536f92f8a1ba7f09ab6b6a8e122f242dabb312f3f637a262174d31d1b107fffffffffffffff + 02 01; + + 26737e 0ffffc 02 067386; }