ATAN

Calculate arc tangent. This function returns the angle in radians whose tangent is the given number.

Syntax

ATAN(X)

Description

Returns the arc tangent of X, that is, the value whose tangent is X.

Examples

SELECT ATAN(2);
+--------------------+
| ATAN(2)            |
+--------------------+
| 1.1071487177940904 |
+--------------------+

SELECT ATAN(-2);
+---------------------+
| ATAN(-2)            |
+---------------------+
| -1.1071487177940904 |
+---------------------+

This page is licensed: GPLv2, originally from fill_help_tables.sql

Last updated

Was this helpful?