← All docs

pow()

Exponential expression.

pow()

function pow(float $num, float $exponent): float

Exponential expression.

Parameters:

  • $num (float)
  • $exponent (float)

Returns: float

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how pow is implemented in the compiler, see the internals page.