Big Integer.Pow Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
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. |
Pow(BigInteger, Int32)
Raises a number to the specified power and returns the result as a BigInteger number.
public static BigInteger Pow(
BigInteger value,
int exponent
)
Parameters
- value BigInteger
- The base.
- exponent Int32
- The exponent.
Return Value
BigIntegerA BigInteger that represents value raised to the power exponent.
Exceptions
Argument | exponent is less than zero. |
Pow(Int32, Int32)
Raises a number to the specified power and returns the result as a BigInteger number.
public static BigInteger Pow(
int value,
int exponent
)
Parameters
Return Value
BigIntegerA BigInteger that represents value raised to the power exponent.
Exceptions
Argument | value is less than zero.
-or- exponent is less than zero. |