pow

fun Double.pow(exponent: Int): Double


inline fun Int.pow(exponent: Int): Int

Integer exponentiation.

Return

this raised to the given exponent

Parameters

exponent

must be ≥ 0

Throws

if exponent is negative