|
NXC
Version 1.2.1 r5
|
| #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).
| _Y | Floating point value representing a y coordinate. |
| _X | Floating point value representing an x coordinate. |