NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
float asin ( float  x)
inline

Compute arc sine.

Computes the principal value of the arc sine of x, expressed in radians. In trigonometrics, arc sine is the inverse operation of sine.

Parameters
xFloating point value in the interval [-1,+1].
Returns
Arc sine of x, in the interval [-pi/2,+pi/2] radians.
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_asin.nxc.