pow

infix fun <T : Number> T.pow(exponent: Int): <Error class: unknown class>

Computes the power of a number.

Return

The result of raising the number to the given exponent.

Receiver

The base number to be raised to the power of the exponent.

Parameters

T

The type of the number, which must implement the Number interface.

exponent

The exponent to which the number is to be raised.