Name: atan2
Category: Trigonometry
Description:
Computes the principal value of the arc tangent of y/x in radians.
Syntax:
atan2(y, x)
Examples:
atan2(2, 2) / pi
0.25
angle = 60 deg in rad
1.0471975511966 rad
x = cos(angle)
0.5
y = sin(angle)
0.86602540378444
atan2(y, x)
1.0471975511966
See also: sin, cos, tan