CAPL Script

Pow

Syntax

double _pow(double x, double y);

Function

Returns x to the power of y.

Parameters

x– base

y– exponent

Return Values

x to the power of y.

double result;result = _pow(2.0, 3.0); // result == 8.0result = _pow(4.0, 0.5); // result == 2.0