asin()
The mathLib.asin() system function returns the arc sine (inverse sine) of a number, in radians.
Syntax
mathLib.asin(numericVariable FLOAT in)
returns (result FLOAT)
- numericVariable
- Input can be any variable or expression that is assignment compatible with the FLOAT type (see "Assignment compatibility in EGL"). The value must be in the range -1 to 1.
- result
- The inverse sine of numericVariable is returned as a FLOAT value, in radians, in the range -pi/2 to pi/2.
Example
result = mathLib.asin(myVar);