pow

infix fun pow(exponent: Int): BigInteger

Returns a BigInteger whose value is (this<sup>exponent</sup>). Note that exponent is an integer rather than a BigInteger.

Return

this<sup>exponent</sup>

Parameters

exponent

exponent to which this BigInteger is to be raised.

Throws

exponent is negative. (This would cause the operation to yield a non-integer value.)