hw-bits-0.7.0.1: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.Log2

Documentation

class Log2 a where Source #

Minimal complete definition

log2

Methods

log2 :: a -> Int Source #

Log base of the given value rounded down to the nearest integer

Instances