Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - exp http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   exp

   Usage
   #include <math.h>
   double exp (double x);

   Description
   exp generates the natural exponent of the argument x.

   Example
   #include <stdio.h>
   #include <math.h>

   main()
   {
   double dnum, xpnt;
        dnum = 3.1415926;
        xpnt = exp(dnum);
        printf("The exp(%f) = %f\n",dnum,xpnt);
   }

   Return Value
   Returns  the real exponential function e to the x. If overflow,  errno
   is set to ERANGE and HUGE_VAL is returned. If underflow, exp returns 0
   and does not set errno. The function matherr can be used to modify the
   behavior on error.


See Also: log pow sqrt

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson