The arithmoi package

[Tags:benchmark, library, mit, test]

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), integer logarithms. Note: Requires GHC >= 6.12 with the integer-gmp package for efficiency. Portability is on the to-do list (with low priority, however).


Change log Changes
Dependencies array (>=0.3 && <0.5), base (==4.*), containers (>=0.3 && <0.6), ghc-prim, integer-gmp, mtl (>=2.0 && <2.2), random (==1.0.*) [details]
License MIT
Copyright (c) 2011 Daniel Fischer
Author Daniel Fischer
Maintainer Daniel Fischer <>
Stability Provisional
Category Math, Algorithms, Number Theory
Home page
Bug tracker
Source repository head: hg clone
Uploaded Mon Jul 9 21:13:42 UTC 2012 by DanielFischer
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 11817 total (69 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees