hw-bits-0.7.0.1: Bit manipulation
HaskellWorks.Data.Bits.PopCount.PopCount1
class PopCount1 v where Source #
Minimal complete definition
popCount1
Methods
popCount1 :: v -> Count Source #
The number of 0-bits in the value.
Instances
popCount1 :: Bool -> Count Source #
popCount1 :: Word8 -> Count Source #
popCount1 :: Word16 -> Count Source #
popCount1 :: Word32 -> Count Source #
popCount1 :: Word64 -> Count Source #
popCount1 :: [a] -> Count Source #
popCount1 :: Vector Word8 -> Count Source #
popCount1 :: Vector Word16 -> Count Source #
popCount1 :: Vector Word32 -> Count Source #
popCount1 :: Vector Word64 -> Count Source #
popCount1 :: Broadword Word8 -> Count Source #
popCount1 :: Broadword Word16 -> Count Source #
popCount1 :: Broadword Word32 -> Count Source #
popCount1 :: Broadword Word64 -> Count Source #
popCount1 :: Builtin Word8 -> Count Source #
popCount1 :: Builtin Word16 -> Count Source #
popCount1 :: Builtin Word32 -> Count Source #
popCount1 :: Builtin Word64 -> Count Source #