Portability | portable |
---|---|
Stability | experimental |
Maintainer | [email protected] |
Data.LargeWord
Description
Provides Word128, Word192 and Word256 and a way of producing other large words if required.
Documentation
Methods
largeWordToInteger :: a -> IntegerSource
integerToLargeWord :: Integer -> aSource
largeWordPlus :: a -> a -> aSource
largeWordAnd :: a -> a -> aSource
largeWordOr :: a -> a -> aSource
largeWordShift :: a -> Int -> aSource
largeWordXor :: a -> a -> aSource
largeBitSize :: a -> IntSource
Instances
(Ord a, Bits a, Bounded a, Integral a, LargeWord a, Bits b, Bounded b, Integral b, LargeWord b) => Bounded (LargeKey a b) | |
Enum (LargeKey a b) | |
(Eq a, Eq b) => Eq (LargeKey a b) | |
(Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) => Integral (LargeKey a b) | |
(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Num (LargeKey a b) | |
(Ord a, Ord b) => Ord (LargeKey a b) | |
(Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) => Real (LargeKey a b) | |
(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Show (LargeKey a b) | |
(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Bits (LargeKey a b) | |
(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => LargeWord (LargeKey a b) |