1COS(3)                     Linux Programmer's Manual                    COS(3)
2
3
4

NAME

6       cos, cosf, cosl - cosine function
7

SYNOPSIS

9       #include <math.h>
10
11       double cos(double x);
12       float cosf(float x);
13       long double cosl(long double x);
14
15       Link with -lm.
16

DESCRIPTION

18       The  cos()  function returns the cosine of x, where x is given in radi‐
19       ans.
20

RETURN VALUE

22       The cos() function returns a value between -1 and 1.
23

CONFORMING TO

25       SVr4, 4.3BSD, C99.  The float and long double variants are C99 require‐
26       ments.
27

SEE ALSO

29       acos(3), asin(3), atan(3), atan2(3), ccos(3), sin(3), tan(3)
30
31
32
33                                  2002-07-27                            COS(3)
Impressum