Copyright | (c) Ian Lynagh 2007-2008 |
---|---|
License | BSD3 |
Maintainer | igloo@earth.li |
Stability | internal |
Portability | non-portable (GHC Extensions) |
Safe Haskell | None |
Language | Haskell2010 |
An simple definition of the Integer
type.
Documentation
smallInteger :: Int# -> Integer Source #
wordToInteger :: Word# -> Integer Source #
integerToWord :: Integer -> Word# Source #
integerToInt :: Integer -> Int# Source #
oneInteger :: Integer Source #
doubleFromInteger :: Integer -> Double# Source #
floatFromInteger :: Integer -> Float# Source #
complementInteger :: Integer -> Integer Source #
flipBits :: Digits -> DigitsOnes Source #
flipBitsDigits :: Digits -> Digits Source #
negateInteger :: Integer -> Integer Source #
absInteger :: Integer -> Integer Source #
signumInteger :: Integer -> Integer Source #
hashInteger :: Integer -> Int# Source #
halfBoundUp :: () -> Digit Source #
lowHalfMask :: () -> Digit Source #
highHalfShift :: () -> Int# Source #
digitsToInteger :: Digits -> Integer Source #
removeZeroTails :: Digits -> Digits Source #
succPositive :: Positive -> Positive Source #
newtype DigitsOnes Source #
andDigitsOnes :: DigitsOnes -> Digits -> Digits Source #
doubleFromPositive :: Positive -> Double# Source #
floatFromPositive :: Positive -> Float# Source #