Version | 1.2 |
Description | Fast calculation of prime numbers up to 4000000000 |
Environments | Win32 / OS/2 / Linux command line |
Compiler | Windows: MS Visual C++ 6.0
OS/2: emx/gcc 3.2.1 / Open Watcom C++ 1.3 / IBM Visual Age C++ 3.0 / Borland C++ 2.0 Linux: gcc 3.3.3 |
Porting | Porting should be easy.
The speed depends on the compiler used. |
How to use ? |
|
How does it work ? | Primf uses an optimized sieve of Eratosthenes.
The file contains 1 bit per odd number (i.e. 1 byte for 16 numbers). |
How to build ? | call mk |
How to install ? | no installation needed, just copy the files |
Author | Frank Reglin |
License | General Public License |
Binaries | primf_bin_win_1_2.zip
primf_bin_os2_1_2.zip primf_bin_linux386_1_2.zip |
Sources | primf_src_1_2.zip |
Documentation | calling primf[w|2|x] without arguments prints a short one. |
Older versions | primf_src_1_0.zip |
Ideas for further development |
|