arithmoi: Efficient basic number-theoretic functions. Primes, powers, integer logarithms.

[ algorithms, library, math, mit, number-theory ] [ Propose Tags ] [ Report a vulnerability ]
This version is deprecated.

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

Flags

Automatic Flags
NameDescriptionDefault
llvm

Compile the library with the llvm backend

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.1.0, 0.4.1.1, 0.4.1.2, 0.4.1.3, 0.4.2.0, 0.4.3.0, 0.5.0.0, 0.5.0.1, 0.6.0.0, 0.6.0.1, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.11.0.0, 0.11.0.1, 0.12.0.0, 0.12.0.1, 0.12.0.2, 0.12.1.0, 0.13.0.0 (info)
Change log Changes
Dependencies array (>=0.3 && <0.6), base (>=4 && <5), containers (>=0.3 && <0.6), ghc-prim, integer-gmp (<1), mtl (>=2.0 && <2.3), random (>=1.0 && <1.2) [details]
Tested with ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.3
License MIT
Copyright (c) 2011 Daniel Fischer
Author Daniel Fischer
Maintainer Daniel Fischer <daniel.is.fischer@googlemail.com>
Revised Revision 3 made by Bodigrim at 2021-12-11T21:58:01Z
Category Math, Algorithms, Number Theory
Home page https://bitbucket.org/dafis/arithmoi
Bug tracker https://bitbucket.org/dafis/arithmoi/issues
Source repo head: hg clone https://bitbucket.org/dafis/arithmoi
Uploaded by DanielFischer at 2014-07-13T14:11:14Z
Distributions Arch:0.13.0.0, LTSHaskell:0.13.0.0, NixOS:0.13.0.0, Stackage:0.13.0.0
Reverse Dependencies 24 direct, 7882 indirect [details]
Downloads 42127 total (199 in the last 30 days)
Rating 2.25 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]