xref: /csrg-svn/lib/libm/common_source/cos.3 (revision 61285)
1*61285Sbostic.\" Copyright (c) 1991, 1993
2*61285Sbostic.\"	The Regents of the University of California.  All rights reserved.
348925Scael.\"
448925Scael.\" %sccs.include.redist.man%
548925Scael.\"
6*61285Sbostic.\"     @(#)cos.3	8.1 (Berkeley) 06/04/93
748925Scael.\"
848925Scael.Dd
948925Scael.Dt COS 3
1048925Scael.Os
1148925Scael.Sh NAME
1248925Scael.Nm cos
1348925Scael.Nd cosine function
1448925Scael.Sh SYNOPSIS
1548925Scael.Fd #include <math.h>
1648925Scael.Ft double
1748925Scael.Fn cos "double x"
1848925Scael.Sh DESCRIPTION
1948925ScaelThe
2048925Scael.Fn cos
2148925Scaelfunction computes the cosine of
2248925Scael.Fa x
2348925Scael(measured in radians).
2448925ScaelA large magnitude argument may yield a result with little or no
2548925Scaelsignificance.
2648925ScaelFor a discussion of error due to roundoff, see
2748925Scael.Xr math 3 .
2848925Scael.Sh RETURN VALUES
2948925ScaelThe
3048925Scael.Fn cos
3148925Scaelfunction returns the cosine value.
3248925Scael.Sh SEE ALSO
3348925Scael.Xr sin 3 ,
3448925Scael.Xr tan 3 ,
3548925Scael.Xr asin 3 ,
3648925Scael.Xr acos 3 ,
3748925Scael.Xr atan 3 ,
3848925Scael.Xr atan2 3 ,
3948925Scael.Xr sinh 3 ,
4048925Scael.Xr cosh 3 ,
4148925Scael.Xr tanh 3 ,
4248925Scael.Xr math 3 ,
4348925Scael.Sh STANDARDS
4448925ScaelThe
4548925Scael.Fn acos
4648925Scaelfunction conforms to
4748925Scael.St -ansiC .
48