cos(3M)




NAME

     cos - cosine function


SYNOPSIS

     cc [ flag ... ] file ... -lm [ library ... ]
     #include <math.h>

     double cos(double x);


DESCRIPTION

     The cos() function computes the cosine  of  x,  measured  in
     radians.


RETURN VALUES

     Upon successful completion, cos() returns the cosine of x.

     If x is NaN or _Inf, NaN is returned.


ERRORS

     No errors will occur.


ATTRIBUTES

     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | MT-Level                    | MT-Safe                     |
    |_____________________________|_____________________________|


SEE ALSO

     acos(3M), isnan(3M), sin(3M), tan(3M), attributes(5)


Man(1) output converted with man2html