Cloud

asin

The asin() function returns the inverse sine (arcsine) of a specified argument, expressed in radians. See also asind() to return the result in degrees.

Syntax

ASIN(x)

Arguments

  • x: A number of type real or double precision, between -1 and 1 inclusive.

Return type

Same as the input type (real or double precision).

Examples

Basic usage

SELECT ASIN(1);
       asin
-------------------
 1.5707963267948966
(1 row)

Fractional argument

SELECT ASIN(0.5);
       asin
-------------------
 0.5235987755982988
(1 row)