basement-0.0.14: Foundation scrap box of array & string
Safe HaskellNone
LanguageHaskell2010

Basement.Types.Word256

Synopsis

Documentation

data Word256 Source #

256 bits Word

Constructors

Word256 !Word64 !Word64 !Word64 !Word64 

Instances

Instances details
Bounded Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Enum Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Eq Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Methods

(==) :: Word256 -> Word256 -> Bool #

(/=) :: Word256 -> Word256 -> Bool #

Num Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Ord Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Show Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Storable Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Bits Word256 Source # 
Instance details

Defined in Basement.Types.Word256

HasNegation Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Integral Word256 Source # 
Instance details

Defined in Basement.Types.Word256

IsNatural Word256 Source # 
Instance details

Defined in Basement.Types.Word256

IsIntegral Word256 Source # 
Instance details

Defined in Basement.Types.Word256

Subtractive Word256 Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference Word256 Source #

Additive Word256 Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible Word256 Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative Word256 Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

PrimMemoryComparable Word256 Source # 
Instance details

Defined in Basement.PrimType

PrimType Word256 Source # 
Instance details

Defined in Basement.PrimType

Associated Types

type PrimSize Word256 :: Nat Source #

NormalForm Word256 Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: Word256 -> () Source #

BitOps Word256 Source # 
Instance details

Defined in Basement.Bits

FiniteBitsOps Word256 Source # 
Instance details

Defined in Basement.Bits

From Word8 Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Word8 -> Word256 Source #

From Word16 Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Word16 -> Word256 Source #

From Word32 Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Word32 -> Word256 Source #

From Word64 Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Word64 -> Word256 Source #

From Word128 Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Word128 -> Word256 Source #

(KnownNat n, NatWithinBound Word256 n) => From (Zn n) Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Zn n -> Word256 Source #

From (Zn64 n) Word256 Source # 
Instance details

Defined in Basement.From

Methods

from :: Zn64 n -> Word256 Source #

type NatNumMaxBound Word256 Source # 
Instance details

Defined in Basement.Nat

type NatNumMaxBound Word256 = 115792089237316195423570985008687907853269984665640564039457584007913129639935
type Difference Word256 Source # 
Instance details

Defined in Basement.Numerical.Subtractive

type PrimSize Word256 Source # 
Instance details

Defined in Basement.PrimType

type PrimSize Word256 = 32

(+) :: Word256 -> Word256 -> Word256 Source #

Add 2 Word256

(-) :: Word256 -> Word256 -> Word256 Source #

Subtract 2 Word256

(*) :: Word256 -> Word256 -> Word256 Source #

Multiplication

quot :: Word256 -> Word256 -> Word256 Source #

Division

complement :: Word256 -> Word256 Source #

Bitwise complement

shiftL :: Word256 -> Int -> Word256 Source #

Bitwise Shift Left

shiftR :: Word256 -> Int -> Word256 Source #

Bitwise Shift Right

rotateL :: Word256 -> Int -> Word256 Source #

Bitwise rotate Left

rotateR :: Word256 -> Int -> Word256 Source #

Bitwise rotate Left

popCount :: Word256 -> Int Source #

Population count