Calculates the cosine.
double cos (double x);
Required Header |
<math.h> |
Return Value
This function returns the cosine of a double in radians.
Parameters
x
The value to be converted
Remarks
The cos function calculates the cosine of x to 15 digits of precision.
See Also asin, acos, atan, atan2, sin, tan, sinh, cosh, tanh, cot