The objective is to find lots of prime numbers really fast. This is done in c++.
This has been tested on Linux (Ubuntu 16.04/18.04) and has been checked against others from the INTERNET.
g++ main.cpp -std=c++11
make all
The main.cpp when executed produces a binary output file, and a plain text file.
- Make a tester program
- Use multiple threads
- Use GPGPU
- Remove a lot of the "cout <<" lines
- Remove sqrt and use something more area specific