arithmoi

Efficient basic number-theoretic functions. https://github.com/Bodigrim/arithmoi

Version on this page:0.10.0.0@rev:1
LTS Haskell 16.16:0.10.0.0@rev:1
Stackage Nightly 2020-09-29:0.11.0.1
Latest on Hackage:0.11.0.1

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

Module documentation for 0.10.0.0

This version can be pinned in stack with:arithmoi-0.10.0.0@sha256:1fbdf62d5b72196de1d4da393a892218d089714ec691e75ec54f3b2d529c896e,7988

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