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++ 3.0r4 - <b>atan</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
atan

Usage

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

   ANSI

Description

   atan returns the arc tangent of x in the range of -p2 to p2. matherr can
   be used to modify error handling.

Example 

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

   int main()
   {
       double x, y;
       x = 1.0;
       y = atan(x);
       printf("The arc tangent of %.7f is %.7f\n",x,y);
       return EXIT_SUCCESS;
   }

Return Value

   atan returns the arc tangent of its argument.


See Also

   acos, asin, atan2


See Also: acos asin atan2

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