integer-logarithms: Integer logarithms.

[ algorithms, library, math, mit, number-theory ] [ Propose Tags ]

Math.NumberTheory.Logarithms and Math.NumberTheory.Powers.Integer from the arithmoi package.

Also provides GHC.Integer.Logarithms.Compat and Math.NumberTheory.Power.Natural modules, as well as some additional functions in migrated modules.

[Skip to Readme]
Versions [faq] 1, 1.0.1, 1.0.2,,, 1.0.3
Dependencies array (>=0.3 && <0.6), base (>=4.3 && <4.10), ghc-prim (<0.6), integer-gmp (<1.1), nats (==1.1.*) [details]
License MIT
Copyright (c) 2011 Daniel Fischer
Author Daniel Fischer
Maintainer Andrew Lelechenko <>, Oleg Grenrus <>
Revised Revision 3 made by phadej at Mon Jan 15 07:50:21 UTC 2018
Category Math, Algorithms, Number Theory
Home page
Bug tracker
Source repo head: git clone
Uploaded by phadej at Sun Jan 1 17:14:28 UTC 2017
Distributions Arch:1.0.3, Debian:, Fedora:, LTSHaskell:1.0.3, NixOS:1.0.3, Stackage:1.0.3, openSUSE:1.0.3
Downloads 111406 total (573 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-01-01 [all 1 reports]





Replace unsafe array operations with safe ones


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


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

For package maintainers and hackage trustees

Readme for integer-logarithms-1

[back to package description]


Math.NumberTheory.Logarithms splitted out of arithmoi