The pow function

Name

pow -- 

Synopsis

#include <math.h>

double pow (double x, double y);

Description

The pow function computes x raised to the power y. A domain error occurs if x is negative and y is not an integral value. A domain error occurs if the result cannot be represented when x is zero and y is less than or equal to zero. A range error may occur.

Returns

The pow function returns the value of x raised to the power y.

Implementation Notes

None