math/t/{mpx,mpmont}: Add some extra tests for flushing out `mul4' bugs.
[catacomb] / math / t / mpmont
index d653963..eef6a23 100644 (file)
@@ -30,6 +30,11 @@ mul {
   4309747041023999857206910900081
   4309747041023999857206910900081;
 
+  170141183460469231731687303715884105727
+  2
+  2
+  4;
+
   6277101735386680763835789423207666416083908700390324961279
   2455155546008943817740293915197451784769108058161191238065
   340282366920938463500268095579187314689
@@ -50,6 +55,11 @@ exp {
   8745435676786567758678547
   2439674515119108242643169132064;
 
+  170141183460469231731687303715884105727
+  2
+  170141183460469231731687303715884105727
+  2;
+
   # --- Bizarre bug ---
   #
   # This was caused by omission of the test-and-subtract step in the