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
complement :: Word256 -> Word256 Source #
Bitwise complement
fromNatural :: Natural -> Word256 Source #