...
Code Block | ||
---|---|---|
| ||
double x;
double y;
double result;
if (((x == 0.f) && islessequal(y, 0)) ||
(isless(x, 0) && !isInteger(y))) {
/* handle domain and range errors */
}
result = pow(x, y);
|
...
...
Code Block | ||
---|---|---|
| ||
double x;
double y;
double result;
if (((x == 0.f) && islessequal(y, 0)) ||
(isless(x, 0) && !isInteger(y))) {
/* handle domain and range errors */
}
result = pow(x, y);
|
...