Efficient basic number-theoretic functions.

Version on this page:
LTS Haskell 17.9:
Stackage Nightly 2021-04-06:
Latest on Hackage:

See all snapshots arithmoi appears in

MIT licensed by Andrew Lelechenko, Daniel Fischer
Maintained by Andrew Lelechenko andrew dot lelechenko at gmail dot com, Carter Schonwald carter at wellposed dot com
This version can be pinned in stack with:arithmoi-,7744

Module documentation for

A library of basic functionality needed for number-theoretic calculations. The aim of this library is to provide efficient implementations of the functions. Primes and related things (totients, factorisation), powers (integer roots and tests, modular exponentiation).