|
VMS Help CRTL, pow, Example *Conan The Librarian |
#include <stdio.h>
#include <math.h>
#include <errno.h>
main()
{
double x;
errno = 0;
x = pow(-3.0, 2.0);
printf("%d, %f\n", errno, x);
}
This example program outputs the following:
0, 9.000000
|
|