@hackage numeric-logarithms0.1.0.0

Integral and rational log2 algorithms

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.