@hackage arithmoi0.1.0.2
Efficient basic number-theoretic functions. Primes, powers, integer logarithms.
Categories
License
MIT
Maintainer
Daniel Fischer <daniel.is.fischer@googlemail.com>
Links
Versions
Installation
Dependencies (7)
- array >=0.3 && <0.4
- base >=4 && <4.5
- containers >=0.3 && <0.5
- ghc-prim
- integer-gmp
- mtl >=2.0 && <2.1 Show all…
Dependents (28)
@hackage/diagrams-contrib, @hackage/constructible, @hackage/enumeration, @hackage/cryptol, @hackage/quadratic-irrational, @hackage/grfn, Show all…
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).