[libmath-prime-util-perl] 10/13: Newest M-R bases

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:47:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.24
in repository libmath-prime-util-perl.

commit 476d336dd67595c657b460a80d2f55edb5a8788a
Author: Dana Jacobsen <dana at acm.org>
Date:   Sun Mar 10 17:09:01 2013 -0700

    Newest M-R bases
---
 factor.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/factor.c b/factor.c
index 45d74d4..0909779 100644
--- a/factor.c
+++ b/factor.c
@@ -360,13 +360,13 @@ int _XS_is_prob_prime(UV n)
   }
 #else
 #if 1
-  /* Better bases from http://miller-rabin.appspot.com/, 3 Mar 2013 */
+  /* Better bases from http://miller-rabin.appspot.com/, 10 Mar 2013 */
   if (n < UVCONST(341531)) {
     bases[0] = UVCONST(9345883071009581737);
     nbases = 1;
-  } else if (n < UVCONST(624732421)) {
+  } else if (n < UVCONST(716169301)) {
     bases[0] = 15;
-    bases[1] = UVCONST( 5511855321103177 );
+    bases[1] = UVCONST( 13393019396194701 );
     nbases = 2;
   } else if (n < UVCONST(154639673381)) {
     bases[0] = 15;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git



More information about the Pkg-perl-cvs-commits mailing list