BSD Ports

math/primesieve 8.0,1 DragonFly

Fast prime number generator

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
math
Package size
110.6 KiB, 356.1 KiB installed

Description

primesieve is a program and C/C++ library that generates primes using a highly optimized sieve of Eratosthenes implementation. It counts the primes below 10^10 in just 0.4 seconds on an Intel Core i7-6700 CPU (4 x 3.4 GHz). primesieve can generate primes and prime k-tuplets up to 2^64.

In the other systems

SystemPortVersion
DragonFlymath/primesieve8.0,1
FreeBSDmath/primesieve12.14,1
NetBSDwip/primesieve8.0
HardenedBSDmath/primesieve12.14,1
GhostBSDmath/primesieve12.14,1

Install

Binary package:

pkg install primesieve

From DPorts:

cd /usr/dports/math/primesieve && make install clean

Dependencies