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

Compute cosine.

Computes the cosine of an angle of x radians.

Parameters
xFloating point value representing an angle expressed in radians.
Returns
Cosine of x.
Warning
This function requires the enhanced NBC/NXC firmware.
Examples:
ex_sin_cos.nxc.