/primal.cpp

Computes prime numbers using a Sieve of Eratosthenes.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Primal++

Computes prime numbers using a Sieve of Eratosthenes.

Preview

2024-05-28-203210

2024-05-28-203222

Installation

git clone https://github.com/fiffy326/primal.cpp
cd primal.cpp
make
sudo make install
# Other compilation options:
make gcc
make gcc-static
make clang
make clang-static

Dependencies

Compilation is done with gcc by default.

Hyperfine is also required to use the make benchmark command.