C Run-Time Library Reference
pow
raise to a power
Synopsis
#include <math.h>
double pow(double, double);
float powf(float, float)
Description
The
function computes the value of the first argument raised to the
pow
power of the second argument.
Error Conditions
A domain error occurs if the first argument is negative and the second
argument cannot be represented as an integer. If the first argument is zero,
the second argument is less than or equal to zero, and the result cannot be
represented,
EDOM
Example
#include <math.h>
double z;
z = pow(4.0, 2.0);
See Also
exp,
ldexp
3-104
;
is stored in
.
errno
/* z = 16.0 */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers