[Ecm-commits] r2634 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Tue Feb 24 08:08:54 CET 2015


Author: zimmerma
Date: 2015-02-24 08:08:53 +0100 (Tue, 24 Feb 2015)
New Revision: 2634

Modified:
   trunk/resume.c
   trunk/test.ecm
Log:
more coverage


Modified: trunk/resume.c
===================================================================
--- trunk/resume.c	2015-02-24 06:55:26 UTC (rev 2633)
+++ trunk/resume.c	2015-02-24 07:08:53 UTC (rev 2634)
@@ -442,7 +442,7 @@
           fprintf (file, "; SIGMA=");
         }
       else
-          fprintf (file, "; ETYPE=%d; A=", Etype);
+        fprintf (file, "; ETYPE=%d; A=", Etype);
           
         mpz_out_str (file, 10, sigma);
         mpz_mul_ui (checksum, checksum, mpz_fdiv_ui (sigma, CHKSUMMOD));

Modified: trunk/test.ecm
===================================================================
--- trunk/test.ecm	2015-02-24 06:55:26 UTC (rev 2633)
+++ trunk/test.ecm	2015-02-24 07:08:53 UTC (rev 2634)
@@ -188,6 +188,12 @@
 /bin/rm -f test.ecm.save
 checkcode $C 14
 
+echo 17061648125571273329563156588435816942778260706938821014533 | $ECM -save test.ecm.save -A 22/7 -x0 1/3 -y0 2/7 1e3
+$ECM -resume test.ecm.save 1e3
+C=$?
+/bin/rm -f test.ecm.save
+checkcode $C 0
+
 echo 89101594496537524661600025466303491594098940711325290746374420963129505171895306244425914080753573576861992127359576789001 | $ECM -param 0 -sigma 877655087 -go 325001 157721 1032299; checkcode $? 14
 
 echo 5394204444759808120647321820789847518754252780933425517607611172590240019087317088600360602042567541009369753816111824690753627535877960715703346991252857 | $ECM -param 0 -sigma 805816989 -go 345551 149827; checkcode $? 6



More information about the Ecm-commits mailing list