ASIN
Description
Returns the arc sine of x, or nan if x is not in the range -1 to 1.
Syntax
ASIN(<x>)
Parameters
| Parameter | Description |
|---|---|
<x> | The value for which the asin value is to be calculated |
Return Value
The asin value of parameter x.
Example
select asin(0.5);
+---------------------+
| asin(0.5) |
+---------------------+
| 0.52359877559829893 |
+---------------------+
select asin(2);
+-----------+
| asin(2.0) |
+-----------+
| nan |
+-----------+