[This is preliminary documentation and is subject to change.]
The BigInt type exposes the following methods.
Methods
| Name | Description | |
|---|---|---|
| Abs |
Finds the absolute value of a number.
| |
| CompareTo |
Compares two BigInts.
| |
| Equals | Overloaded. | |
| Factorial |
Calculates the factorial of a number.
| |
| Finalize | (Inherited from Object.) | |
| GetHashCode |
Obtains the hash code for this number.
(Overrides Object..::.GetHashCode()()().) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| Pow | Overloaded. | |
| ToString |
A string representation.
(Overrides Object..::.ToString()()().) |
Operators
| Name | Description | |
|---|---|---|
| Addition | Overloaded. | |
| Division |
Divides the two BigInts.
| |
| Equality |
An equality test.
| |
| Explicit | Overloaded. | |
| GreaterThan |
A “greater-than” comparison.
| |
| GreaterThanOrEqual |
A “greater-than-or-equal” comparison.
| |
| Implicit |
This allows “simple notation”, such as BigInt myBigInt = 2400;.
| |
| Inequality |
An inequality test.
| |
| LessThan |
A “less-than” comparison.
| |
| LessThanOrEqual |
A “less-than-or-equal” comparison.
| |
| Multiply | Overloaded. | |
| Subtraction | Overloaded. | |
| UnaryNegation |
Negates a BigInt.
|