aboutsummaryrefslogblamecommitdiff
path: root/math/primegen/pkg-descr
blob: 1f9c05d18967fd8a572dff575fb9997ecffc66a3 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                     





                                                                    
primegen is a small, fast library to generate prime numbers in order.
It generates the 50847534 primes up to 1000000000 in just 8 seconds
on a Pentium II-350; it prints them in decimal in just 35 seconds.

primegen can generate primes up to 1000000000000000, although it
is not optimized for primes past 32 bits. It uses the Sieve of Atkin
instead of the traditional Sieve of Eratosthenes.

WWW: http://cr.yp.to/primegen.html