# BigInteger Methods

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The BigInteger type exposes the following members.

## Methods

Name Description
CompareFractions Compares integer fractions.
CompareFractionToBigInteger Compares a fraction with a big integer.
CompareFractionToLong Compares a fraction to a long.
CompareFractionToUlong Compares a fraction to an unsigned long.
CompareTo(Double) Compares a big integer to a double.
CompareTo(Int32) Compares a big integer to a 32-bit integer.
CompareTo(Int64) Compares a big integer to a long.
CompareTo(Object) Compares a big integer to a value.
CompareTo(UInt32) Compares a big integer to an unsigned integer.
CompareTo(UInt64) Compares a big integer to an unsigned long.
CompareTo(BigInteger) Compares two BigInteger values.
DivMod Divides two big integers and saves the quotient and remainder.
DivModOne Divides two big integers.
Equals(Double) Returns a value that indicates whether a big integer is equal to a double.
Equals(Int32) Returns a value that indicates whether a big integer is equal to an integer.
Equals(Int64) Returns a value that indicates whether a big integer is equal to a long integer.
Equals(Object) Returns a value that indicates whether a big integer is equal to an object. (Overrides ValueType.Equals(Object).)
Equals(UInt32) Returns a value that indicates whether a big integer is equal to an integer.
Equals(UInt64) Returns a value that indicates whether a big integer is equal to a long integer.
Equals(BigInteger) Determines if two big integers are equal.
Factorial Computes the factorial of a big integer.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Gcd Computes the greatest common divisor.
GetHashCode Computes the hash of a value. (Overrides ValueType.GetHashCode().)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Negate Negates the sign of a big integer.
Power(BigInteger, BigInteger) Raises a big integer to the power of a big integer.
Power(BigInteger, BigInteger, BigInteger) Raises a big integer to the power of a big integer, and stores the result.
Power(BigInteger, BigInteger, Rational) Raises a big integer to the power of a big integer, and stores the result.
TestBit Returns a value that indicates whether a test bit is set.
ToHexString Converts the numeric value of the current big integer to its equivalent string representation of hex characters.
ToString Converts the numeric value of the current big integer to its equivalent string representation. (Overrides ValueType.ToString().)
TryFactorial Computes the factorial of a big integer. A return value indicates whether the computation succeeded.
Top