File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed
Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 11#include < Rcpp.h>
22#include < cmath>
33#include < libdivide.h>
4- #include < PollardRho.h>
5-
6- const double Significand53 = 9007199254740991.0 ;
4+ #include < GetFacsUtils.h>
75
86template <typename typeInt>
97inline typeInt getStartingIndex (typeInt lowerB, typeInt step) {
Original file line number Diff line number Diff line change 11#include < Rcpp.h>
22#include < cmath>
33#include < algorithm>
4- #include " PrimesPolRho.h"
5- #include " PollardRho.h"
6-
7- const double Significand53 = 9007199254740991.0 ;
4+ #include < PrimesPolRho.h>
5+ #include < GetFacsUtils.h>
86
97/* Prove primality or run probabilistic tests. */
108int FlagProvePrimality = 1 ;
Original file line number Diff line number Diff line change 22#include < cmath>
33#include < array>
44#include < libdivide.h>
5- #include " PrimesSegSieve.h"
6- #include " PhiTinyLookup.h"
5+ #include < PrimesSegSieve.h>
6+ #include < PhiTinyLookup.h>
7+ #include < GetFacsUtils.h>
78
89// "AllPrimesCpp" implements a simple segmented version of the
910// Sieve of Eratosthenes (original implementation authored by
1718// Kim Walisch's official github repo for "pi_legendre" is:
1819// https://github.com/kimwalisch/primecount
1920
20- const double Significand53 = 9007199254740991.0 ;
21-
2221// This is the largest multiple of 2*3*5*7 = 210
2322// that is less than 2^15 = 32768 = 32KB. This
2423// is the typical size of most CPU's L1 cache
You can’t perform that action at this time.
0 commit comments