[Syntax]
double pow(double x)
float powf(float x)
[Description]
These functions calculate x raised to the power y.
[Special case]
|
|
|
|
|
x < 0 and y is a non-integer.
|
NaN
|
EDOM
|
|
x==0, y==0
|
NaN
|
EDOM
|
|
x==0, y<0
|
+HUGE_VAL
|
ERANGE
|
|
Overflow occurred
|
±HUGE_VAL
|
ERANGE
|
|
Underflow occurred
|
0
|
ERANGE
|