numeric-logarithms: Integral and rational log2 algorithms

[ apache, library, numeric ] [ Propose Tags ] [ Report a vulnerability ]

This provides a user-facing API for the GHC primitive integerLog2#, in the form of functions computing the floor, ceiling, or other rounded form of the base-2 logarithm of Integral or Rational types.

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
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.19), integer-gmp (>=0.5 && <1.2) [details]
License Apache-2.0
Copyright 2018-2021 Google LLC
Author Andrew Pritchard <awpritchard@gmail.com>
Maintainer Andrew Pritchard <awpritchard@gmail.com>
Revised Revision 6 made by AndrewPritchard at 2023-03-12T19:39:57Z
Category Numeric
Home page https://github.com/awpr/numeric-logarithms#readme
Bug tracker https://github.com/awpr/numeric-logarithms/issues
Source repo head: git clone https://github.com/google/hs-numeric-logarithms
Uploaded by AndrewPritchard at 2021-09-03T20:41:07Z
Distributions
Downloads 272 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]