| integer-gmp-0.2.0.1: Integer library based on GMP | Contents | Index

GHC.Integer

Portability | non-portable (GHC Extensions)
Stability | internal
Maintainer | cvs-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#
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
shiftLInteger :: Integer -> Int# -> Integer
shiftRInteger :: Integer -> Int# -> Integer
hashInteger :: Integer -> Int#

Documentation
data Integer

Arbitrary-precision integers.

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#
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
shiftLInteger :: Integer -> Int# -> Integer
shiftRInteger :: Integer -> Int# -> Integer
hashInteger :: Integer -> Int#
Produced by Haddock version 2.6.1