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 Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <math.h>
    double atan( double x );

Description:
    The atan function computes the principal value of the arctangent of x.

Returns:
    The atan function returns the arctangent in the range (-P/2,P/2).

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

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

    produces the following:

    0.463648

Classification:
    ANSI

Systems:
    Math

See Also:
    acos, asin, atan2

See Also: acos asin

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