ATAN2
ATAN2(n,m)

Returns the arc tangent of the value n/m. In other words ATAN2(n,m) is the same as ATAN(n/m). The result is an angle expressed in radians, which will fall inclusively in the range -/2 and /2.

Example

SQL> SELECT ATAN2(.4,2), ATAN(.2)
  2  FROM dual;

ATAN2(.4,2)   ATAN(.2)
----------- ----------
  .19739556  .19739556

Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.