Calculates the cosine of a floating-point radian value.
[Format]
#include <math.h>
double cos (double d);
float cosf (float d);
long double cosl (long double d);
[Parameters]
d Radian value for which cosine is to be computed
[Return values]
Cosine of d