ATAN2

ATAN2(y, x)

yThe REAL numerator value for the tangent.
xThe REAL denominator value for the tangent.
Return:ATAN2 returns a single REAL value.

The ATAN2 function returns the arctangent (inverse) of the calculated tangent, in radians. This is similar to the ATAN function but more accurate and handles the situations where x or y is zero.

Example:

ArcTangent := ATAN2(TangentNumerator, TangentDenominator);

See Also: ATAN, ACOS, COS, ASIN, SIN, TAN, COSH, SINH, TANH