MathPowInt

Raises a number to the specified integer power.

double  MathPowInt(
   const double  x,      // value of the number
   const int     power   // power to raise to
   )

Parameters

x

[in]  Double-precision floating-point number to be raised to the power.

power

[in]  Integer specifying the power. 

Return Value

The number x, raised to the specified power.