1*48925Scael.\" Copyright (c) 1991 The Regents of the University of California. 2*48925Scael.\" All rights reserved. 3*48925Scael.\" 4*48925Scael.\" %sccs.include.redist.man% 5*48925Scael.\" 6*48925Scael.\" @(#)cos.3 5.1 (Berkeley) 05/02/91 7*48925Scael.\" 8*48925Scael.Dd 9*48925Scael.Dt COS 3 10*48925Scael.Os 11*48925Scael.Sh NAME 12*48925Scael.Nm cos 13*48925Scael.Nd cosine function 14*48925Scael.Sh SYNOPSIS 15*48925Scael.Fd #include <math.h> 16*48925Scael.Ft double 17*48925Scael.Fn cos "double x" 18*48925Scael.Sh DESCRIPTION 19*48925ScaelThe 20*48925Scael.Fn cos 21*48925Scaelfunction computes the cosine of 22*48925Scael.Fa x 23*48925Scael(measured in radians). 24*48925ScaelA large magnitude argument may yield a result with little or no 25*48925Scaelsignificance. 26*48925ScaelFor a discussion of error due to roundoff, see 27*48925Scael.Xr math 3 . 28*48925Scael.Sh RETURN VALUES 29*48925ScaelThe 30*48925Scael.Fn cos 31*48925Scaelfunction returns the cosine value. 32*48925Scael.Sh SEE ALSO 33*48925Scael.Xr sin 3 , 34*48925Scael.Xr tan 3 , 35*48925Scael.Xr asin 3 , 36*48925Scael.Xr acos 3 , 37*48925Scael.Xr atan 3 , 38*48925Scael.Xr atan2 3 , 39*48925Scael.Xr sinh 3 , 40*48925Scael.Xr cosh 3 , 41*48925Scael.Xr tanh 3 , 42*48925Scael.Xr math 3 , 43*48925Scael.Sh STANDARDS 44*48925ScaelThe 45*48925Scael.Fn acos 46*48925Scaelfunction conforms to 47*48925Scael.St -ansiC . 48