Concept Framework 2.0 documentation Contents | Index

standard.C.math.pow

Name Version Deprecated
pow version 1.0 no

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.

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  

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

Documented by Simona Gabriela Plesuvu, generation time: Fri Jan 21 18:06:18 2011 GMT(c)2011 RadGs Software