Document: primesieve Title: primesieve: API documentation Author: Kim Walisch Abstract: primesieve is a C/C++ library for fast prime number generation. primesieve generates primes using a highly optimized implementation of the segmented sieve of Eratosthenes. primesieve generates primes about 50 times faster (single-threaded) than an ordinary C/C++ sieve of Eratosthenes implementation and about 10,000 times faster than trial-division. primesieve outperforms the author's older ecprime (fastest open source prime number generator from 2002 to 2010) by about 30 percent and also substantially outperforms primegen the fastest sieve of Atkin implementation on the web. This document describes the API of the primesieve C/C++ library. The source code is distributed under the BSD 2 clause License. Section: Science/Mathematics Format: HTML Index: /usr/share/doc/primesieve/html/index.html Files: /usr/share/doc/primesieve/html/*.html Format: PDF Files: /usr/share/doc/primesieve/primesieve_refman.pdf