pow function — Computes power
float pow(float x, float y) float pow(float x, int y) double pow(double x, double y) double pow(double x, int y) long double pow(long double x, long double y) long double pow(long double x, int y)
The pow
function raises
x
to the y
power. If x
is negative, and y
is not an integral value, a domain error
occurs. If x
is 0
, and y
is less than or equal to 0
, and the result cannot be represented as
a real number, a domain error occurs. A range error can occur if the
result is out of range.