Concept Framework 1.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: Thu Oct 15 20:02:03 2009 GMT(c)2009 RadGs Software