Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

pow(3) Guardian Native C Library Calls Reference Manual
If the value of y is NaN, NaN is returned.
If the value of x is 0.0 (zero) and the value of y is negative, positive or negative
HUGE_VAL is returned and errno is set to [EDOM].
If the value of x is 0.0 (zero) and the value of y is greater than 0.0 (zero), positive or
negative 0.0 (zero) is returned.
If the value of x is less than 0.0 (zero) and the value of y is not an integral value, NaN is
returned and errno is set to [EDOM].
If the absolute value of x is greater than 1.0 and the value of y is positive innity, posi-
tive innity is returned.
If the absolute value of x is less than 1.0 and the value of y is positive innity, positive
0.0 (zero) is returned.
If the absolute value of x is greater than 1.0 and the value of y is negative innity, posi-
tive 0.0 (zero) is returned.
If the absolute value of x is less than 1.0 and the value of y is negative innity, positive
innity is returned.
If the value of x is positive innity and the value of y is greater than 0.0 (zero), positive
innity is returned.
If the value of x is positive innity and the value of y is less than 0.0 (zero), positive 0.0
(zero) is returned.
If the value of x is negative innity and the value of y is an odd integral value greater
than 0.0 (zero), negative innity is returned.
If the value of x is negative innity and the value of y is not an odd integral value but is
greater than 0.0 (zero), positive innity is returned.
If the value of x is negative innity and the value of y is an odd integral value less than
0.0 (zero), negative 0.0 (zero) is returned.
If the value of x is negative innity and the value of y is not an odd integral value but is
less than 0.0 (zero), positive 0.0 (zero) is returned.
If the value of x is positive or negative 1.0 and the value of y is positive or negative
innity, NaN is returned and errno is set to [EDOM].
If the value of x is a nite value less than 0.0 (zero) and the value of y is a nite nonin-
tegral value, NaN is returned and errno is set to [EDOM].
If the value of x is positive or negative 0.0 (zero) and the value of y is an odd integral
value less than 0.0 (zero), positive or negative innity is returned and errno is set to
[EDOM].
If the value of x is positive or negative 0.0 (zero) and the value of y is not an odd integral
value but is less than 0.0 (zero), positive innity is returned and errno is set to [EDOM].
If the value of x is positive or negative 0.0 (zero) and the value of y is an odd integral
value greater than 0.0 (zero), positive or negative 0.0 (zero) is returned.
528 Hewlett-Packard Company 527192-007