SYNOPSIS
#include <math.h>
double pow(double x, double y)
float powf(float x, float y)
DESCRIPTION
The
To check for errors, set errno to 0 before calling
The
PARAMETERS
RETURN VALUES
The
If x is 0.0 and y is 0.0, 1.0 is returned
unless in SVID mode, in which case 0.0 is returned and
If x is 0.0 and y is negative, then:

In IEEE mode, a value of Infinity is returned.

In POSIX mode, errno is set to EDOM and Infinity is returned.

In SVID mode,
matherr() is called and a value of 0 is returned. 
In XOPEN mode,
matherr() is called and a value of Infinity is returned.
If x is NaN and y is zero, then:

In IEEE or POSIX mode, a value of 1.0 is returned.

In SVID or XOPEN mode, a value of NaN is returned and
matherr() is called.
If y is NaN or y is nonzero and x is NaN, NaN is returned.
If y is 0.0 and x is NaN, then:

In IEEE or POSIX mode, a value of 1.0 is returned.

In SVID or XOPEN mode, a value of NaN is returned and
matherr() is called.
If x is negative and y is a noninteger, then:

In IEEE mode, NaN is returned.

In POSIX mode, NaN is returned and errno is set to EDOM.

In SVID mode, 0 is returned and
matherr() is called. 
In XOPEN mode, NaN is returned and
matherr() is called.
If it overflows, then:

In IEEE mode, Inf is returned.

In POSIX mode, Inf is returned and errno is set to ERANGE.

In SVID mode, ±HUGE_VAL is returned and
matherr() is called. 
In XOPEN mode, Inf is returned and
matherr() is called.
If it underflows, 0.0 is returned and:

In POSIX mode, errno is set to ERANGE.

In SVID or XOPEN mode,
matherr() is called.
CONFORMANCE
MULTITHREAD SAFETY LEVEL
MTSafe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64Bit Edition
SEE ALSO
PTC MKS Toolkit 9.6 Documentation Build 9.