Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Word256 = Word256 !Word64 !Word64 !Word64 !Word64
- (+) :: Word256 -> Word256 -> Word256
- (-) :: Word256 -> Word256 -> Word256
- (*) :: Word256 -> Word256 -> Word256
- quot :: Word256 -> Word256 -> Word256
- rem :: Word256 -> Word256 -> Word256
- bitwiseAnd :: Word256 -> Word256 -> Word256
- bitwiseOr :: Word256 -> Word256 -> Word256
- bitwiseXor :: Word256 -> Word256 -> Word256
- complement :: Word256 -> Word256
- shiftL :: Word256 -> Int -> Word256
- shiftR :: Word256 -> Int -> Word256
- rotateL :: Word256 -> Int -> Word256
- rotateR :: Word256 -> Int -> Word256
- popCount :: Word256 -> Int
- fromNatural :: Natural -> Word256
Documentation
256 bits Word
Instances
bitwiseAnd :: Word256 -> Word256 -> Word256 #
Bitwise and
bitwiseXor :: Word256 -> Word256 -> Word256 #
Bitwise xor
complement :: Word256 -> Word256 #
Bitwise complement
fromNatural :: Natural -> Word256 #