atan_2D

Computes the arctangent of y/x using the signs of arguments to determine the correct quadrant.

Inputs

y

Y value.

x

X value.

Output

arctangent

The arctangent of y/x in the range [-π, +π] radians.