projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mp-gcd: Add tests for mp_modinv.
[u/mdw/catacomb]
/
tests
/
mp
diff --git
a/tests/mp
b/tests/mp
index
c8be382
..
e232f62
100644
(file)
--- a/
tests/mp
+++ b/
tests/mp
@@
-197,6
+197,12
@@
gcd {
1;
}
+modinv {
+ 5 9 2;
+ 15 64 47;
+ 564566436 546457643 408896426;
+}
+
jacobi {
4 5 1;
6 7 -1;