MicrOS
cos.c File Reference
#include "../math.h"

Functions

double cos (double x)
 Compute cosine. More...
 

Function Documentation

◆ cos()

double cos ( double  x)

Compute cosine.

The cos functions compute the cosine of x (measured in radians).

Parameters
xValue representing an angle expressed in radians.
Returns
Cosine of x radians.