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

Compute arc cosine (degrees).

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

Parameters
xFloating point value in the interval [-1,+1].
Returns
Arc cosine of x, in the interval [0,180] degrees.
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_acosd.nxc.