integer-0.1.0.1: Integer library based on GMPSource codeContentsIndex
GHC.Integer
Portabilitynon-portable (GHC Extensions)
Stabilityinternal
Maintainercvs-ghc@haskell.org
Description
The Integer type.
Synopsis
data Integer
smallInteger :: Int# -> Integer
wordToInteger :: Word# -> Integer
integerToWord :: Integer -> Word#
toInt# :: Integer -> Int#
integerToWord64 :: Integer -> Word64#
word64ToInteger :: Word64# -> Integer
integerToInt64 :: Integer -> Int64#
int64ToInteger :: Int64# -> Integer
plusInteger :: Integer -> Integer -> Integer
minusInteger :: Integer -> Integer -> Integer
timesInteger :: Integer -> Integer -> Integer
negateInteger :: Integer -> Integer
eqInteger :: Integer -> Integer -> Bool
neqInteger :: Integer -> Integer -> Bool
absInteger :: Integer -> Integer
signumInteger :: Integer -> Integer
leInteger :: Integer -> Integer -> Bool
gtInteger :: Integer -> Integer -> Bool
ltInteger :: Integer -> Integer -> Bool
geInteger :: Integer -> Integer -> Bool
compareInteger :: Integer -> Integer -> Ordering
divModInteger :: Integer -> Integer -> (#Integer, Integer#)
quotRemInteger :: Integer -> Integer -> (#Integer, Integer#)
quotInteger :: Integer -> Integer -> Integer
remInteger :: Integer -> Integer -> Integer
encodeFloatInteger :: Integer -> Int# -> Float#
decodeFloatInteger :: Float# -> (#Integer, Int##)
floatFromInteger :: Integer -> Float#
encodeDoubleInteger :: Integer -> Int# -> Double#
decodeDoubleInteger :: Double# -> (#Integer, Int##)
doubleFromInteger :: Integer -> Double#
gcdInteger :: Integer -> Integer -> Integer
lcmInteger :: Integer -> Integer -> Integer
andInteger :: Integer -> Integer -> Integer
orInteger :: Integer -> Integer -> Integer
xorInteger :: Integer -> Integer -> Integer
complementInteger :: Integer -> Integer
hashInteger :: Integer -> Int#
Documentation
data Integer Source
Arbitrary-precision integers.
smallInteger :: Int# -> IntegerSource
wordToInteger :: Word# -> IntegerSource
integerToWord :: Integer -> Word#Source
toInt# :: Integer -> Int#Source
integerToWord64 :: Integer -> Word64#Source
word64ToInteger :: Word64# -> IntegerSource
integerToInt64 :: Integer -> Int64#Source
int64ToInteger :: Int64# -> IntegerSource
plusInteger :: Integer -> Integer -> IntegerSource
minusInteger :: Integer -> Integer -> IntegerSource
timesInteger :: Integer -> Integer -> IntegerSource
negateInteger :: Integer -> IntegerSource
eqInteger :: Integer -> Integer -> BoolSource
neqInteger :: Integer -> Integer -> BoolSource
absInteger :: Integer -> IntegerSource
signumInteger :: Integer -> IntegerSource
leInteger :: Integer -> Integer -> BoolSource
gtInteger :: Integer -> Integer -> BoolSource
ltInteger :: Integer -> Integer -> BoolSource
geInteger :: Integer -> Integer -> BoolSource
compareInteger :: Integer -> Integer -> OrderingSource
divModInteger :: Integer -> Integer -> (#Integer, Integer#)Source
quotRemInteger :: Integer -> Integer -> (#Integer, Integer#)Source
quotInteger :: Integer -> Integer -> IntegerSource
remInteger :: Integer -> Integer -> IntegerSource
encodeFloatInteger :: Integer -> Int# -> Float#Source
decodeFloatInteger :: Float# -> (#Integer, Int##)Source
floatFromInteger :: Integer -> Float#Source
encodeDoubleInteger :: Integer -> Int# -> Double#Source
decodeDoubleInteger :: Double# -> (#Integer, Int##)Source
doubleFromInteger :: Integer -> Double#Source
gcdInteger :: Integer -> Integer -> IntegerSource
lcmInteger :: Integer -> Integer -> IntegerSource
andInteger :: Integer -> Integer -> IntegerSource
orInteger :: Integer -> Integer -> IntegerSource
xorInteger :: Integer -> Integer -> IntegerSource
complementInteger :: Integer -> IntegerSource
hashInteger :: Integer -> Int#Source
Produced by Haddock version 2.4.2