Built-in functions: math_asin()
The function math_asin() is a complementary function of math_sin().
Declaration
float math_asin( float aValue )
Parameters
aValue
The value representing a sine. Valid values lie in the range -1.0 .. +1.0.
Discussion
The inverse trigonometric function math_asin() calculates the arcsine of the given value aValue. The function returns an angle value expressed in degree lying in the range -90.0 .. +90.0. For example:
var float angle = math_asin( 0.5 ); // angle = 30.0
Passing a value less than -1.0 or greater than +1.0 causes the function to return a non-a-number value.