ATAN(X) returns the arc tangent of X : ATAN « Math Numeric Functions « MySQL Tutorial






mysql>
mysql> SELECT ATAN(2);
+-----------------+
| ATAN(2)         |
+-----------------+
| 1.1071487177941 |
+-----------------+
1 row in set (0.02 sec)

mysql> SELECT ATAN(-2);
+------------------+
| ATAN(-2)         |
+------------------+
| -1.1071487177941 |
+------------------+
1 row in set (0.00 sec)

mysql>








21.6.ATAN
21.6.1.ATAN(X) returns the arc tangent of X
21.6.2.ATAN(Y,X), ATAN2(Y,X) returns the arc tangent of the two variables X and Y.