hw-bits-0.7.0.5: Bit manipulation
HaskellWorks.Data.Bits.Log2
class Log2 a where Source #
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 #