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

Compute cosine (degrees).

Computes the cosine of an angle of x degrees.

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