BigInteger.Pow(Int32, Int32) Method

Raises a number to the specified power and returns the result as a BigInteger number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static BigInteger Pow(
	int value,
	int exponent
)

Parameters

value  Int32
The base.
exponent  Int32
The exponent.

Return Value

BigInteger
A BigInteger that represents value raised to the power exponent.

Exceptions

ArgumentOutOfRangeExceptionvalue is less than zero.

-or-

exponent is less than zero.

See Also