Type Function Library math.* Return value Number Revision 2017.3060 Keywords asin, arc sine See also math.sin()
Returns the arc sine of a x (in radians). The result will be in the range -pi/2 to pi/2. If the parameter x is outside the range [-1..1], the result will be NaN.
print (math.asin (1)) -- result will be 1.57079... print (math.asin (-1)) -- result will be -1.57079... print (math.asin (1.1)) -- result will be NaN