7.12.4.5 The cos functions

Synopsis

1

#include <math.h>
double cos(double x);
float cosf(float x);
long double cosl(long double x);

Description

2

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

Returns

3

The cos functions return cos x.