NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define Atan2 (   _Y,
  _X 
)    asm { atan2 __FLTRETVAL__, _Y, _X }

Compute arc tangent with 2 parameters.

Computes the principal value of the arc tangent of _Y/_X, expressed in radians. To compute the value, the function uses the sign of both arguments to determine the quadrant. Only constants or variables allowed (no expressions).

Deprecated:
Use atan2() instead.
Parameters
_YFloating point value representing a y coordinate.
_XFloating point value representing an x coordinate.
Returns
Arc tangent of _Y/_X, in the interval [-pi,+pi] radians.