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