Categorias:

Funções numéricas (Trigonométrico)

ATAN

Calcula a tangente inversa (tangente do arco) de seu argumento; o resultado é um número no intervalo [-pi, pi].

Sintaxe

ATAN( <input_expr> )
Copy

Argumentos

input_expr

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

Retornos

If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.

Retorna o arco tangente em radianos (não em graus) na faixa [-pi, pi].

Exemplos

SELECT ATAN(1);

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