arithmoi-0.4.2.0: Math/NumberTheory/Primes/Counting.hs
-- |
-- Module: Math.NumberTheory.Primes.Counting
-- Copyright: (c) 2011 Daniel Fischer
-- Licence: MIT
-- Maintainer: Daniel Fischer <daniel.is.fischer@googlemail.com>
-- Stability: Provisional
-- Portability: non-portable
--
-- Number of primes not exceeding @n@, @π(n)@, and @n@-th prime; also fast, but
-- reasonably accurate approximations to these.
module Math.NumberTheory.Primes.Counting
( -- * Exact functions
primeCount
, primeCountMaxArg
, nthPrime
, nthPrimeMaxArg
-- * Approximations
, approxPrimeCount
, approxPrimeCountOverestimateLimit
, nthPrimeApprox
, nthPrimeApproxUnderestimateLimit
) where
import Math.NumberTheory.Primes.Counting.Impl
import Math.NumberTheory.Primes.Counting.Approximate