standard.C.math.pow

pow is available since version 1.0.

Prototype:

number pow(number x, number y)

Parameters

x
[in] Base
y
[in] Exponent

Description:

The pow function computes x raised to the power of y.

Return value:

The pow function computes x raised to the power of y.

Example
 import standard.C.math

class Main {
     function Main() {
          var x = 2;
          var y = 3;
          var z;

          z = pow(x, y);
          echo "" + x + " to the power of " + y + " is " + z;
     }
} 
 

Results 
2 to the power of 3 is 8