COS(3) BSD Programmer's Manual COS(3) NNAAMMEE ccooss - cosine function SSYYNNOOPPSSIISS ##iinncclluuddee <<mmaatthh..hh>> _d_o_u_b_l_e ccooss(_d_o_u_b_l_e _x); DDEESSCCRRIIPPTTIIOONN The ccooss() function computes the cosine of _x (measured in radians). A large magnitude argument may yield a result with little or no signifi- cance. For a discussion of error due to roundoff, see math(3). RREETTUURRNN VVAALLUUEESS The ccooss() function returns the cosine value. SSEEEE AALLSSOO sin(3), tan(3), asin(3), acos(3), atan(3), atan2(3), sinh(3), cosh(3), tanh(3), math(3), SSTTAANNDDAARRDDSS The aaccooss() function conforms to ANSI C X3.159-1989 (``ANSI C ''). 4.4BSD June 4, 1993 1