hw-bits-0.7.0.2: Bit manipulation

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.PopCount.PopCount0

Documentation

class PopCount0 v where Source #

Minimal complete definition

popCount0

Methods

popCount0 :: v -> Count Source #

The number of 0-bits in the value.

Instances

PopCount0 Bool Source # 

Methods

popCount0 :: Bool -> Count Source #

PopCount0 Word8 Source # 
PopCount0 Word16 Source # 
PopCount0 Word32 Source # 
PopCount0 Word64 Source # 
PopCount0 a => PopCount0 [a] Source # 

Methods

popCount0 :: [a] -> Count Source #

PopCount0 (Vector Word8) Source # 
PopCount0 (Vector Word16) Source # 
PopCount0 (Vector Word32) Source # 
PopCount0 (Vector Word64) Source # 
PopCount0 (Vector (Broadword Word8)) Source # 
PopCount0 (Vector (Broadword Word16)) Source # 
PopCount0 (Vector (Broadword Word32)) Source # 
PopCount0 (Vector (Broadword Word64)) Source # 
PopCount0 (Vector (Builtin Word8)) Source # 
PopCount0 (Vector (Builtin Word16)) Source # 
PopCount0 (Vector (Builtin Word32)) Source # 
PopCount0 (Vector (Builtin Word64)) Source # 
PopCount0 (Vector Word8) Source # 
PopCount0 (Vector Word16) Source # 
PopCount0 (Vector Word32) Source # 
PopCount0 (Vector Word64) Source # 
PopCount0 (Vector (Broadword Word8)) Source # 
PopCount0 (Vector (Broadword Word16)) Source # 
PopCount0 (Vector (Broadword Word32)) Source # 
PopCount0 (Vector (Broadword Word64)) Source # 
PopCount0 (Vector (Builtin Word8)) Source # 
PopCount0 (Vector (Builtin Word16)) Source # 
PopCount0 (Vector (Builtin Word32)) Source # 
PopCount0 (Vector (Builtin Word64)) Source # 
PopCount0 (Broadword Word8) Source # 
PopCount0 (Broadword Word16) Source # 
PopCount0 (Broadword Word32) Source # 
PopCount0 (Broadword Word64) Source # 
PopCount0 (Builtin Word8) Source # 
PopCount0 (Builtin Word16) Source # 
PopCount0 (Builtin Word32) Source # 
PopCount0 (Builtin Word64) Source #