~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
symm/poly1305.c, etc.: Convert the Monte-Carlo tests to incremental form.
[catacomb]
/
math
/
t
/
mpmont
diff --git
a/math/t/mpmont
b/math/t/mpmont
index
cd2569b
..
eef6a23
100644
(file)
--- a/
math/t/mpmont
+++ b/
math/t/mpmont
@@
-25,6
+25,16
@@
mul {
6456542564
10807149256;
6456542564
10807149256;
+ 4325987397987458979875737589783
+ 1
+ 4309747041023999857206910900081
+ 4309747041023999857206910900081;
+
+ 170141183460469231731687303715884105727
+ 2
+ 2
+ 4;
+
6277101735386680763835789423207666416083908700390324961279
2455155546008943817740293915197451784769108058161191238065
340282366920938463500268095579187314689
6277101735386680763835789423207666416083908700390324961279
2455155546008943817740293915197451784769108058161191238065
340282366920938463500268095579187314689
@@
-45,6
+55,11
@@
exp {
8745435676786567758678547
2439674515119108242643169132064;
8745435676786567758678547
2439674515119108242643169132064;
+ 170141183460469231731687303715884105727
+ 2
+ 170141183460469231731687303715884105727
+ 2;
+
# --- Bizarre bug ---
#
# This was caused by omission of the test-and-subtract step in the
# --- Bizarre bug ---
#
# This was caused by omission of the test-and-subtract step in the