asin
Description
Syntax:
DOUBLE asin(DOUBLE x)
This function returns the arcsine of x
. If x
is beyond the range of [-1, 1], it will return nan
.
Example
mysql> select asin(0.5);
+---------------------+
| asin(0.5) |
+---------------------+
| 0.52359877559829893 |
+---------------------+
mysql> select asin(2);
+-----------+
| asin(2.0) |
+-----------+
| nan |
+-----------+
Keywords
ASIN