VeloDB Cloud
SQL Manual
Functions
math-functions
atan

atan

Description

Syntax:

DOUBLE atan(DOUBLE x)

This function returns the arctangent of x, where x is in radians.

Example

mysql> select atan(0);
+-----------+
| atan(0.0) |
+-----------+
|         0 |
+-----------+
mysql> select atan(2);
+--------------------+
| atan(2.0)          |
+--------------------+
| 1.1071487177940904 |
+--------------------+

Keywords

ATAN