Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.1

powf(3)


POW

POW

NAME
SYNOPSIS
DESCRIPTION
ERRORS
CONFORMING TO
SEE ALSO

NAME

pow, powf, powl − power functions

SYNOPSIS

#include <math.h>

double pow(double x, double y);
float powf(float
x, float y);
long double powl(long double
x, long double y);

Link with −lm.

DESCRIPTION

The pow() function returns the value of x raised to the power of y.

ERRORS

The pow() function can return the following error:

EDOM

The argument x is negative and y is not an integral value. This would result in a complex number.

CONFORMING TO

SVr4, 4.3BSD, C89. The float and long double variants are C99 requirements.

SEE ALSO

cbrt(3), cpow(3), sqrt(3)



powf(3)