hw-bits-0.7.2.1: Bit manipulation
HaskellWorks.Data.Bits.Types.Broadword
newtype Broadword a Source #
Type wrapper to prefer broadword operations.
Constructors
Defined in HaskellWorks.Data.Bits.Types.Broadword
Methods
(==) :: Broadword a -> Broadword a -> Bool #
(/=) :: Broadword a -> Broadword a -> Bool #
showsPrec :: Int -> Broadword a -> ShowS #
show :: Broadword a -> String #
showList :: [Broadword a] -> ShowS #
Associated Types
type Rep (Broadword a) :: Type -> Type #
from :: Broadword a -> Rep (Broadword a) x #
to :: Rep (Broadword a) x -> Broadword a #
sizeOf :: Broadword a -> Int #
alignment :: Broadword a -> Int #
peekElemOff :: Ptr (Broadword a) -> Int -> IO (Broadword a) #
pokeElemOff :: Ptr (Broadword a) -> Int -> Broadword a -> IO () #
peekByteOff :: Ptr b -> Int -> IO (Broadword a) #
pokeByteOff :: Ptr b -> Int -> Broadword a -> IO () #
peek :: Ptr (Broadword a) -> IO (Broadword a) #
poke :: Ptr (Broadword a) -> Broadword a -> IO () #
rnf :: Broadword a -> () #
(.&.) :: Broadword a -> Broadword a -> Broadword a Source #
(.|.) :: Broadword a -> Broadword a -> Broadword a Source #
(.^.) :: Broadword a -> Broadword a -> Broadword a Source #
comp :: Broadword a -> Broadword a Source #
all0s :: Broadword a Source #
all1s :: Broadword a Source #
Defined in HaskellWorks.Data.Bits.PopCount.PopCount1
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 :: Broadword Word8 -> Count Source #
popCount1 :: Broadword Word16 -> Count Source #
popCount1 :: Broadword Word32 -> Count Source #
popCount1 :: Broadword Word64 -> Count Source #
Defined in HaskellWorks.Data.Bits.PopCount.PopCount0
popCount0 :: Vector (Broadword Word8) -> Count Source #
popCount0 :: Vector (Broadword Word16) -> Count Source #
popCount0 :: Vector (Broadword Word32) -> Count Source #
popCount0 :: Vector (Broadword Word64) -> Count Source #
popCount0 :: Broadword Word8 -> Count Source #
popCount0 :: Broadword Word16 -> Count Source #
popCount0 :: Broadword Word32 -> Count Source #
popCount0 :: Broadword Word64 -> Count Source #