COHERENT manpages

This page displays the COHERENT manpage for pow() [Compute a power of a number].

List of available manpages
Index


pow() -- Mathematics Function (libm)

Compute a power of a number
#include <math.h>
double pow(z, x)
double z, x;

pow() returns  z raised to  the power of  x, or z^x.  If  an overflow error
occurs (that is,  you attempt to compute a number  that is too large to fit
into a double-precision  floating-point number), pow() returns a huge value
and sets errno to ERANGE.

Example

For an example of this function, see the entry for log10().

See Also

libm
ANSI Standard, §4.5.5.1
POSIX Standard, §8.1