BigNumber.Pow Method
Definition
Namespace: Corvus.Numerics
Assembly: Corvus.Text.Json.dll
Source: BigNumber.cs
Pow(BigNumber, int)
Raises a BigNumber to an integer power.
public static BigNumber Pow(BigNumber value, int exponent)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
The base value. |
exponent |
int |
The integer exponent. |
Returns
The value raised to the specified power.
Exceptions
| Exception | Description |
|---|---|
ArgumentOutOfRangeException |
Thrown when exponent is negative. |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue