Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <math.h>
    double exp( double x );

Description:
    The exp function computes the exponential function of x.  A range error
    occurs if the magnitude of x is too large.

Returns:
    The exp function returns the exponential value.  When the argument is
    outside the permissible range, the  matherr function is called.  Unless
    the default  matherr function is replaced, it will set the global
    variable  errno to  ERANGE, and print a "RANGE error" diagnostic message
    using the  stderr stream.

See Also:
    log, matherr

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

    void main()
      {
        printf( "%f\n", exp(.5) );
      }

    produces the following:

    1.648721

Classification:
    ANSI

Systems:
    All

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