Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
ATAN2, ATAN
On this page
The ATAN2() and ATAN() functions return the arc tangent of x and y.
Syntax
ATAN2 (y, x), ATAN (y, x)
Arguments
-
x and y: the arguments
Return Type
Float or double.
Examples
SELECT ATAN2(1, 1);
+--------------------+
| ATAN2(1, 1) |
+--------------------+
| 0.7853981633974483 |
+--------------------+Last modified: