Data.WideWord.Word256

wide-word-0.1.7.0: Data types for large but fixed width signed and unsigned integers

Safe Haskell | None
Language | Haskell2010

Data.WideWord.Word256

# Documentation

data Word256 #

Constructors

Word256 |
Fields word256hi :: !Word64 word256m1 :: !Word64 word256m0 :: !Word64 word256lo :: !Word64

#### Instances

Instances details

Binary Word256 # | Since: 0.1.5.0
Instance details Defined in Data.WideWord.Word256 Methods put :: Word256 -> Put # get :: Get Word256 # putList :: [Word256] -> Put #
NFData Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods rnf :: Word256 -> () #
Bits Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods (.&.) :: Word256 -> Word256 -> Word256 # (.|.) :: Word256 -> Word256 -> Word256 # xor :: Word256 -> Word256 -> Word256 # complement :: Word256 -> Word256 # shift :: Word256 -> Int -> Word256 # rotate :: Word256 -> Int -> Word256 # zeroBits :: Word256 # bit :: Int -> Word256 # setBit :: Word256 -> Int -> Word256 # clearBit :: Word256 -> Int -> Word256 # complementBit :: Word256 -> Int -> Word256 # testBit :: Word256 -> Int -> Bool # bitSizeMaybe :: Word256 -> Maybe Int # bitSize :: Word256 -> Int # isSigned :: Word256 -> Bool # shiftL :: Word256 -> Int -> Word256 # unsafeShiftL :: Word256 -> Int -> Word256 # shiftR :: Word256 -> Int -> Word256 # unsafeShiftR :: Word256 -> Int -> Word256 # rotateL :: Word256 -> Int -> Word256 # rotateR :: Word256 -> Int -> Word256 # popCount :: Word256 -> Int #
FiniteBits Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods finiteBitSize :: Word256 -> Int # countLeadingZeros :: Word256 -> Int # countTrailingZeros :: Word256 -> Int #
Data Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Word256 -> c Word256 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Word256 # toConstr :: Word256 -> Constr # dataTypeOf :: Word256 -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Word256) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Word256) # gmapT :: (forall b. Data b => b -> b) -> Word256 -> Word256 # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Word256 -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Word256 -> r # gmapQ :: (forall d. Data d => d -> u) -> Word256 -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Word256 -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Word256 -> m Word256 # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Word256 -> m Word256 # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Word256 -> m Word256 #
Bounded Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods minBound :: Word256 # maxBound :: Word256 #
Enum Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods succ :: Word256 -> Word256 # pred :: Word256 -> Word256 # toEnum :: Int -> Word256 # fromEnum :: Word256 -> Int # enumFrom :: Word256 -> [Word256] # enumFromThen :: Word256 -> Word256 -> [Word256] # enumFromTo :: Word256 -> Word256 -> [Word256] # enumFromThenTo :: Word256 -> Word256 -> Word256 -> [Word256] #
Storable Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods sizeOf :: Word256 -> Int # alignment :: Word256 -> Int # peekElemOff :: Ptr Word256 -> Int -> IO Word256 # pokeElemOff :: Ptr Word256 -> Int -> Word256 -> IO () # peekByteOff :: Ptr b -> Int -> IO Word256 # pokeByteOff :: Ptr b -> Int -> Word256 -> IO () # peek :: Ptr Word256 -> IO Word256 # poke :: Ptr Word256 -> Word256 -> IO () #
Generic Word256 # |
Instance details Defined in Data.WideWord.Word256 Associated Types
type Rep Word256 |
Instance details Defined in Data.WideWord.Word256 type Rep Word256 = D1 ('MetaData "Word256" "Data.WideWord.Word256" "wide-word-0.1.7.0-BlHRmgATFbS2JF4UVyVt94" 'False) (C1 ('MetaCons "Word256" 'PrefixI 'True) ((S1 ('MetaSel ('Just "word256hi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "word256m1") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "word256m0") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "word256lo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))))
Methods from :: Word256 -> Rep Word256 x # to :: Rep Word256 x -> Word256 #
Ix Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods range :: (Word256, Word256) -> [Word256] # index :: (Word256, Word256) -> Word256 -> Int # unsafeIndex :: (Word256, Word256) -> Word256 -> Int # inRange :: (Word256, Word256) -> Word256 -> Bool # rangeSize :: (Word256, Word256) -> Int # unsafeRangeSize :: (Word256, Word256) -> Int #
Num Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods (+) :: Word256 -> Word256 -> Word256 # (-) :: Word256 -> Word256 -> Word256 # (*) :: Word256 -> Word256 -> Word256 # negate :: Word256 -> Word256 # abs :: Word256 -> Word256 # signum :: Word256 -> Word256 # fromInteger :: Integer -> Word256 #
Read Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods readsPrec :: Int -> ReadS Word256 # readList :: ReadS [Word256] # readPrec :: ReadPrec Word256 # readListPrec :: ReadPrec [Word256] #
Integral Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods quot :: Word256 -> Word256 -> Word256 # rem :: Word256 -> Word256 -> Word256 # div :: Word256 -> Word256 -> Word256 # mod :: Word256 -> Word256 -> Word256 # quotRem :: Word256 -> Word256 -> (Word256, Word256) # divMod :: Word256 -> Word256 -> (Word256, Word256) # toInteger :: Word256 -> Integer #
Real Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods toRational :: Word256 -> Rational #
Show Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods showsPrec :: Int -> Word256 -> ShowS # show :: Word256 -> String # showList :: [Word256] -> ShowS #
Eq Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods (==) :: Word256 -> Word256 -> Bool # (/=) :: Word256 -> Word256 -> Bool #
Ord Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods compare :: Word256 -> Word256 -> Ordering # (<) :: Word256 -> Word256 -> Bool # (<=) :: Word256 -> Word256 -> Bool # (>) :: Word256 -> Word256 -> Bool # (>=) :: Word256 -> Word256 -> Bool # max :: Word256 -> Word256 -> Word256 # min :: Word256 -> Word256 -> Word256 #
Hashable Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods hashWithSalt :: Int -> Word256 -> Int # hash :: Word256 -> Int #
Prim Word256 # |
Instance details Defined in Data.WideWord.Word256 Methods sizeOfType# :: Proxy Word256 -> Int# # sizeOf# :: Word256 -> Int# # alignmentOfType# :: Proxy Word256 -> Int# # alignment# :: Word256 -> Int# # indexByteArray# :: ByteArray# -> Int# -> Word256 # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Word256 #) # writeByteArray# :: MutableByteArray# s -> Int# -> Word256 -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> Word256 -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> Word256 # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Word256 #) # writeOffAddr# :: Addr# -> Int# -> Word256 -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> Word256 -> State# s -> State# s #
type Rep Word256 # |
Instance details Defined in Data.WideWord.Word256 type Rep Word256 = D1 ('MetaData "Word256" "Data.WideWord.Word256" "wide-word-0.1.7.0-BlHRmgATFbS2JF4UVyVt94" 'False) (C1 ('MetaCons "Word256" 'PrefixI 'True) ((S1 ('MetaSel ('Just "word256hi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "word256m1") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "word256m0") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "word256lo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))))

showHexWord256 :: Word256 -> String #

zeroWord256 :: Word256 #