power

fun power(base: Double, exponent: Double): Double

Calculates the power of a number.

Return

The base raised to the power of the exponent.

Parameters

base

The base number.

exponent

The exponent.