Menu

ARCTG2

Description

Returns the arctangent (the inverse of tangent) of the specified x and y coordinates. The arctangent is the angle between the x axis and the line containing the origin (0;0) and the point at coordinates (x_number, y_number). This angle is given in radians in the interval -pi to pi, except for the value -pi.

Examples

ARCTG2(0.5, 2) = 1.325817663668

ARCTG2(3, 6) = 1.1071487177941

ARCTG2(NAN, 10) = NAN

ARCTG2(1, INF) = 1.5707963267949

ARCTG2(NAN) = ARCTG2(NAN)

ARCTG2(INF) = ARCTG2(INF)

ARCTG2(-INF) = ARCTG2(-INF)

On this page