Categories:

Numeric functions (Trigonometric)

ATAN

Computes the inverse tangent (arc tangent) of its argument; the result is a number in the interval [-pi, pi].

Syntax

ATAN( <input_expr> )
Copy

Arguments

input_expr

The value or expression to operate on. The data type must be FLOAT.

Returns

This function returns a value of type FLOAT.

Returns the arc tangent in radians (not degrees) in the range [-pi, pi].

Examples

SELECT ATAN(1);
Copy
+--------------+
|      ATAN(1) |
|--------------|
| 0.7853981634 |
+--------------+