Skip to main content

asin function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns the inverse sine (arcsine) of expr.

Syntax

asin(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

If the argument is out of bound, NaN.

Examples

SQL
> SELECT asin(0);
0.0

> SELECT asin(2);
NaN