hw-bits-0.7.2.0: Bit manipulation
HaskellWorks.Data.Bits.PopCount.PopCount1
class PopCount1 v where Source #
Methods
popCount1 :: v -> Count Source #
The number of 1-bits in the value.
Defined in HaskellWorks.Data.Bits.PopCount.PopCount1
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 Bit -> Count Source #
popCount1 :: Vector Word8 -> Count Source #
popCount1 :: Vector Word16 -> Count Source #
popCount1 :: Vector Word32 -> Count Source #
popCount1 :: Vector Word64 -> Count Source #
popCount1 :: Vector (Broadword Word8) -> Count Source #
popCount1 :: Vector (Broadword Word16) -> Count Source #
popCount1 :: Vector (Broadword Word32) -> Count Source #
popCount1 :: Vector (Broadword Word64) -> Count Source #
popCount1 :: Vector (Builtin Word8) -> Count Source #
popCount1 :: Vector (Builtin Word16) -> Count Source #
popCount1 :: Vector (Builtin Word32) -> Count Source #
popCount1 :: Vector (Builtin 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 #