BSD 4_4 development
[unix-history] / usr / share / man / cat3 / cos.0
COS(3) BSD Programmer's Manual COS(3)
N\bNA\bAM\bME\bE
c\bco\bos\bs - cosine function
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
#\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<m\bma\bat\bth\bh.\b.h\bh>\b>
_\bd_\bo_\bu_\bb_\bl_\be
c\bco\bos\bs(_\bd_\bo_\bu_\bb_\bl_\be _\bx);
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The c\bco\bos\bs() function computes the cosine of _\bx (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).
R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS
The c\bco\bos\bs() function returns the cosine value.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
sin(3), tan(3), asin(3), acos(3), atan(3), atan2(3), sinh(3),
cosh(3), tanh(3), math(3),
S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
The a\bac\bco\bos\bs() function conforms to ANSI C X3.159-1989 (``ANSI C '').
4.4BSD June 4, 1993 1