I've been trying to use the example for the exp-function of math.h:
1 2 3 4 5 6 7 8 9 10 11 12 13
/* exp example */
#include <stdio.h>
#include <math.h>
int main ()
{
double param, result;
param = 5.0;
result = exp (param);
printf ("The exponential value of %lf is %lf.\n", param, result );
return 0;
}