primecount

Fast prime counting function program and C/C++ library

brewmacoslinux
Try with needOr install directly
Source

About

Fast prime counting function program and C/C++ library

Commands

primecount

Examples

Count the number of primes less than or equal to 1 million$ primecount 1000000
Count primes up to 1 billion using multiple threads$ primecount 1000000000 --threads=4
Display help and available options$ primecount --help