- Categorias:
Funções numéricas (Trigonométrico)
ASIN¶
Calcula o seno inverso (seno de arco) de seu argumento; o resultado é um número no intervalo [-pi/2, pi/2].
Sintaxe¶
ASIN( <input_expr> )
Argumentos¶
input_exprThe value or expression to operate on. Must be greater than or equal to -1.0 and less than or equal to +1.0. 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 seno em radianos (não em graus) na faixa [-pi/2, pi/2].
Exemplos¶
SELECT ASIN(0), ASIN(0.5), ASIN(1); ---------+--------------+-------------+ ASIN(0) | ASIN(0.5) | ASIN(1) | ---------+--------------+-------------+ 0 | 0.5235987756 | 1.570796327 | ---------+--------------+-------------+