Defined in header <math.h> float atan2f( float y, float x ); (1) (since C99) double atan2( double y, double x ); (2) long double atan2l( long double y, long double x ); (3) (since C99) Defined in header <tgmath.h> #define atan2( arg ) (4) (since C99)
1-3) Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
4) Type-generic macro: If the argument has type long double, atan2l is called. Oth