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
Change log
Dependencies array (>=0.3 && <0.6), base (>=4.3 && <4.11), ghc-prim (<0.6), integer-gmp (<1.1), integer-simple, nats (==1.1.*) [details]
License MIT
Copyright (c) 2011 Daniel Fischer
Author Daniel Fischer
Maintainer Oleg Grenrus <>
Revised Revision 2 made by phadej at Mon Jan 15 07:50:13 UTC 2018
Category Math, Algorithms, Number Theory
Home page
Bug tracker
Source repo head: git clone
Uploaded by phadej at Thu Jan 26 12:27:19 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 112360 total (527 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-26 [all 1 reports]





integer-gmp or integer-simple


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

[back to package description]


Math.NumberTheory.Logarithms splitted out of arithmoi