Big Integer Methods
Methods
Abs | Returns the absolute value of a number. |
Add | Returns the sum of two BigInteger numbers. |
Binomial | Enumerates over the binomial coefficients of a specified degree. |
Compare | Compares two numbers. |
Compare | Compares a number to another number. |
Compare | Compares a number to another number. |
Compare | Compares a number to another number. |
Divide | Divides one BigInteger by another and returns the result. |
Div | Computes the quotient and remainder of two BigInteger numbers. |
Equals( | Tests whether a number equals another number. |
Equals( | Tests whether a number equals another number. |
Equals( |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueType.Equals(Object)) |
Extended | Returns the greatest common divisor (GCD) of two BigInteger numbers. |
Factorial | Gets the factorial of a number. |
Factorial2 | Gets the double factorial of a number. |
Get |
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Greatest | Returns the greatest common divisor (GCD) of two BigInteger numbers. |
IsPseudo | Uses the Rabin-Miller test to determine if a number is pseudo-prime. |
Least | Returns the least common multiple (LCM) of two BigInteger numbers. |
Left | Shifts the bits to the left, padding the right with zeros. |
Max | Returns the largest of two numbers. |
Min | Returns the smallest of two numbers. |
Mod | Returns the remainder after dividing one BigInteger by another and returns the result. |
Modular | Computes the modular inverse of an integer with respect to the specified modulus. |
Modular | Raises a number to a power modulo another number. |
Modular | Raises a number to a power modulo another number. |
Modulus | Returns the remainder after dividing one BigInteger by another and returns the result. |
Multiply( | Returns the product of two BigInteger numbers. |
Multiply( | Returns the product of a BigInteger number and an integer. |
Multiply( | Returns the product of a BigInteger number and an unsigned integer. |
Multiply( | Returns the product of an integer and a BigInteger number. |
Multiply( | Returns the product of an unsigned integer and a BigInteger number. |
Negate | Returns a BigInteger with the opposite sign. |
Parse( | Converts the string representation of a number to its BigInteger equivalent. |
Parse( | Converts the string representation of a number in a specified style to its BigInteger equivalent. |
Parse( | Converts the string representation of a number in a specified culture-specific format to its BigInteger equivalent. |
Parse( | Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent. |
Pow( | Raises a number to the specified power and returns the result as a BigInteger number. |
Pow( | Raises a number to the specified power and returns the result as a BigInteger number. |
Random | Returns a random BigInteger number with the specified number of bits. |
Right | Shifts the bits to the right, discarding bits on the right. |
Right | Shifts the bits to the right with rounding. |
Sqrt | Computes the integer square root of a number. |
Square | Returns the square of a BigInteger number. |
Subtract | Returns the difference between two BigInteger numbers. |
ToByte | Converts a BigInteger value to a byte array. |
ToString() |
Returns a string representation of the number.
(Overrides ValueType.ToString()) |
ToString( | Returns a string representation of the integer in the specified radix base. |
ToString( | Formats the value of the current instance using the specified format. |
ToString( | Formats the value of the current instance using the specified format. |
Try | Converts the string representation of a number to its BigInteger equivalent. A return value indicates whether the conversion succeeded or failed. |
Try | Converts the string representation of a number in a specified style and culture-specific format to its BigInteger equivalent. A return value indicates whether the conversion succeeded or failed. |
Xor | Computes the bitwise exclusive or of two BigInteger values. |