@HotSpotIntrinsicCandidate
public static double atan2 (double y, double x)

Returns the angle theta from the conversion of rectangular coordinates ( x y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:

The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.

Parameters:
y    the ordinate coordinate
x    the abscissa coordinate

Returns:  the theta component of the point (rtheta) in polar coordinates that corresponds to the point (xy) in Cartesian coordinates.