math/mp-modsqrt.c: Zero has a square root. Return it correctly.
[catacomb] / math / t / mp
index 7dae552..b50ea8d 100644 (file)
--- a/math/t/mp
+++ b/math/t/mp
@@ -266,6 +266,7 @@ jacobi {
 }
 
 modsqrt {
+  0 5 0;
   1 3 1;
   4 5 2;
   9775592058107450692 13391974640168007623 3264570455655810730;