double cos (double x);
double cos (double x); float cosf (float x);long double cosl (long double x);
double cos (double x); float cos (float x);long double cos (long double x);
double cos (double x); float cos (float x);long double cos (long double x); double cos (T x); // additional overloads for integral types
<cmath>
) for the integral types: These overloads effectively cast x to a double
before calculations (defined for T being any integral type).<complex>
and <valarray>
(see complex cos and valarray cos).180/PI
degrees.
|
|
The cosine of 60.000000 degrees is 0.500000. |