Skip to content

awpr/numeric-logarithms

 
 

Repository files navigation

numeric-logarithms

Efficient rounded log2 algorithms on integral and rational types.

Stack CI

Disclaimer

This is not an officially supported Google product.

Hackage Status

  • numeric-logarithms Uploaded Haddock

Overview

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.

About

Integer and rational logarithms based on integerLog2#.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%