カテゴリ:

数値関数 (三角関数)

ASIN

引数の逆正弦(アークサイン)を計算します。結果は、 [-pi/2, pi/2] の間の数値になります。

構文

ASIN( <input_expr> )
Copy

引数

input_expr

The 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.

戻り値

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

[-pi/2, pi/2] の範囲内の、ラジアン(度ではない)でアークサインを返します。

SELECT ASIN(0), ASIN(0.5), ASIN(1);

---------+--------------+-------------+
 ASIN(0) |  ASIN(0.5)   |   ASIN(1)   |
---------+--------------+-------------+
 0       | 0.5235987756 | 1.570796327 |
---------+--------------+-------------+
Copy