- 4.45.2.11. -
Table of Contents
4. Standard Units
4.45. Math - Extended Mathematics unit
4.45.2. Math Unit Procedures and Functions
4.45.2.11. ArcTan2 function
4.45.2.11. ArcTan2 function
Targets: MS-DOS, OS/2, Win32
Math Unit
Calculates the arctangent angle and quadrant of the given number.
Declaration:
function ArcTan2(Y, X: Extended): Extended;
Remarks:
The ArcTan2 function calculates ArcTan(Y/X), and returns an angle
in the correct quadrant. The values of X and Y must be
between -264 and 264. X can not be 0. The return value will fall
in the range from -Pi to Pi radians.
- 4.45.2.11. -