Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 726 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 726 Bytes

sieveOfEratosthenes

Build Status

The sieve of Eratosthenes is a simple algorithm to generate a list of prime numbers upto a given limit. This procedure is attributed to the Greek mathematician Eratoshthenes of Cyrene.

Dependencies

Installation

Typical installation command:

mkdir build
cd build
cmake ../
make

If GMP is installed in a non-default location, you should run cmake with:

cmake ../ -DGMP_ROOT_DIR=<GMP install location>