HP-UX Reference (11i v2 07/12) - 3 Library Functions N-Z (vol 7)

p
pow(3M) pow(3M)
NAME
pow( ), powf(), powl(), poww( ), powq( ), pown(), pownf( ), pownl(), pownw(), pownq(), powlln(), powllnf( ),
powllnl( ), powllnw(), powllnq() - power functions
SYNOPSIS
#include <math.h>
double pow(double x, double y);
float powf(float x, float y);
Itanium(R)-based System Only
long double powl(long double x, long double y);
extended poww(extended x, extended y);
quad powq(quad x, quad y);
double pown(double x, int y);
float pownf(float x, int y);
long double pownl(long double x, int y);
extended pownw(extended x, int y);
quad pownq(quad x, int y);
double powlln(double x, long long y);
float powllnf(float x, long long y);
long double powllnl(long double x, long long y);
extended powllnw(extended x, long long y);
quad powllnq(quad x, long long y);
DESCRIPTION
The pow() function returns x
y
.
powf() is a float version of pow(); it takes float arguments and returns a float
result.
Itanium-based System Only
powl() is a long double version of pow(); it takes long double arguments and returns a
long double result.
poww() is an extended version of pow(); it takes extended arguments and returns an extended
result.
powq() is equivalent to powl() on HP-UX systems.
The pown() function returns x
y
.
pownf() is a float version of pown(); it takes a float first argument and returns a
float result.
pownl() is a long double version of pown(); it takes a long double first argument and
returns a long double result.
pownw() is an extended version of pown(); it takes an extended first argument and returns an
extended result.
pownq() is equivalent to pownl() on HP-UX systems.
The powlln() function returns x
y
.
powllnf() is a float version of powlln(); it takes a float first argument and returns a float
result.
powllnl() is a long double version of powlln(); it takes a long double first argument and
returns a long double result.
powllnw() is an extended version of powlln() ; it takes an extended first argument and returns
an extended result.
powllnq() is equivalent to powllnl() on HP-UX systems.
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 147