Renesas Electronics
cos functions
[Syntax]
double cos(double x)
float conf(float x)
long double cosl(long double x) [V2.01.00 or later]
[Description]
These functions calculate the cosine of x (measured in radians).
[Special case]
Condition
Return value
Exception
x==±∞
NaN
EDOM