shlib / math / atan2() math.atan2 <x> <y> calculates the principal value of the arc tangent of <y>/<x>, using the signs of the two arguments to determine the quadrant of the result.