Module BigInteger

This module is undocumented. This is a list of its definitions.

Integral_BigInteger_super0 :: OrderedRing BigInteger
OrderedRing_BigInteger_super0 :: Ring BigInteger
OrderedRing_BigInteger_super1 :: Ord BigInteger
Ring_BigInteger_super0 :: Additive BigInteger
absBigInteger :: BigInteger -> BigInteger

The absolute value of the value.

addBigInteger :: BigInteger -> BigInteger -> BigInteger

The sum of the two values.

compareBigInteger :: BigInteger -> BigInteger -> Integer

A negative, zero or positive integer when the first value is smaller than, equal to or greater than the second one.

divBigInteger :: BigInteger -> BigInteger -> BigInteger

The quotient of the two values, truncated towards zero. Fails if the divisor is zero.

equalsBigInteger :: BigInteger -> BigInteger -> Boolean

Returns True if the two values are equal.

hashBigInteger :: BigInteger -> Integer

The hash code of the value.

longToBigInteger :: Long -> BigInteger

The given long as an arbitrary-precision integer.

maxBigInteger :: BigInteger -> BigInteger -> BigInteger

The greater of the two values.

minBigInteger :: BigInteger -> BigInteger -> BigInteger

The smaller of the two values.

mulBigInteger :: BigInteger -> BigInteger -> BigInteger

The product of the two values.

negBigInteger :: BigInteger -> BigInteger

The negation of the value.

oneBigInteger :: BigInteger

One.

remBigInteger :: BigInteger -> BigInteger -> BigInteger

The remainder of the division of the two values. Its sign is the sign of the dividend.

showBigInteger :: BigInteger -> String

The decimal representation of the value.

subBigInteger :: BigInteger -> BigInteger -> BigInteger

The difference of the two values.

toIntegerBigInteger :: BigInteger -> Integer

The value as a 32-bit integer, keeping only the lowest 32 bits.

zeroBigInteger :: BigInteger

Zero.