[libmath-prime-util-perl] 16/43: Expand twin prime table

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


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

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

commit 8bdf350af947a6e60b74f595917126130c74c010
Author: Dana Jacobsen <dana at acm.org>
Date:   Tue Mar 25 10:21:38 2014 -0700

    Expand twin prime table
---
 util.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/util.c b/util.c
index b03c4e2..d09c356 100644
--- a/util.c
+++ b/util.c
@@ -878,10 +878,12 @@ static const UV twin_steps[] =
    14364197903,13879821868,13578563641,13361034187,13191416949,13053013447,12936030624,12835090276, 12746487898,
    124078078589,120182602778,117753842540,115995331742,114622738809,113499818125,112551549250,111732637241,111012321565,
    1082549061370,1050759497170,1030883829367,1016473645857,1005206830409,995980796683,988183329733,981441437376,975508027029,
-   9527651328494,
+   9527651328494, 9264843314051, 9100153493509, 8980561036751, 8886953365929, 8810223086411, 8745329823109, 8689179566509, 8639748641098,
+   84499489470819, 82302056642520, 80922166953330, 79918799449753, 79132610984280, 78487688897426, 77941865286827, 77469296499217, 77053075040105,
+   754527610498466, 735967887462370, 724291736697048,
   };
-static const unsigned int twin_num_exponents = 10;
-static const unsigned int twin_last_mult = 2;      /* 2e16 */
+static const unsigned int twin_num_exponents = 12;
+static const unsigned int twin_last_mult = 4;      /* 4e19 */
 #endif
 
 UV twin_prime_count(UV beg, UV end)

-- 
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