hw-bits-0.7.0.3: Bit manipulation
HaskellWorks.Data.Bits.Log2
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
Defined in HaskellWorks.Data.Bits.Log2
log2 :: Word32 -> Int Source #
log2 :: Word64 -> Int Source #