arithmoi

Efficient basic number-theoretic functions.

https://github.com/cartazio/arithmoi

Version on this page:0.5.0.1
LTS Haskell 24.18:0.13.2.0
Stackage Nightly 2025-11-04:0.13.2.0
Latest on Hackage:0.13.2.0

See all snapshots arithmoi appears in

Used by 1 package in nightly-2017-09-13(full list with versions):

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).