primeiter: New functions for iterating over small primes.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 20 Feb 2007 17:22:50 +0000 (17:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 21 Feb 2007 12:38:03 +0000 (12:38 +0000)
The primeiter functions return consecutive prime numbers from a given
starting point.  To help do this efficiently we use a `wheel': a table
of steps to make which avoid integers with small factors.  The wheel is
generated by a new build-time utility genwheel.c.


No differences found