exp
Computes the exponential function of the argument
#include <math.h>
double exp (
double x);
The exp function returns the exponential value. When the argument is outside the permissible range, errno is set and matherr is called.
The exp function computes the exponential function of x. A range error occurs if the magnitude of x is too large.
#include <math.h> #include <stdio.h> main () { printf ("%f\n", exp (.5) ); }
produces the following:
1.648721