Compute Arctangent of y/x

Computes the arc tangent of y/x, using the signs of the two to determine the quadrant of the return value.

Examples in JavaScript