pow

Calculates the power of one floating point number raised to another.

double pow (double x, double y);

Required Header
<math.h>

Return Value

This function returns the floating point number result.

Parameters

x

  The number to raise to a power

y

  The power to raise to

Remarks

The pow function calculates x ^ y.

Mathematics

See Also    exp, log, sqrt