hw-bits-0.6.0.0: Bit manipulation

Copyright2016 John Ky
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Bits.PopCount.PopCount0

Description

Succinct operations.

Synopsis

Documentation

class PopCount0 v where Source #

The number of zero bits in the value.

Minimal complete definition

popCount0

Methods

popCount0 :: v -> Count Source #

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 Word8) Source # 
PopCount0 (Vector Word16) Source # 
PopCount0 (Vector Word32) Source # 
PopCount0 (Vector 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 #