cos(3F)
cos, dcos, qcos, ccos, zcos, cqcos, cosd, dcosd, qcosd - FORTRAN cosine intrinsic function
Showing IRIX 6.5. First release of IRIX 6.5.
NAME cos, dcos, qcos, ccos, zcos, cqcos, cosd, dcosd, qcosd - FORTRAN cosine intrinsic function SYNOPSIS real r1, r2 double precision dp1, dp2 real*16 qp1, qp2 complex cx1, cx2 complex*16 cd1, cd2 complex*32 cd3, cd4 real*4 r3, r4 real*8 dp3, dp4 real*16 qp3, qp4 r2 = cos(r1) dp2 = dcos(dp1) dp2 = cos(dp1) qp2 = qcos(qp1) qp2 = cos(qp1) cx2 = ccos(cx1) cx2 = cos(cx1) cd2 = zcos(cd1) cd2 = cos(cd1) cd4 = cqcos(cd3) cd4 = cos(cd3) r4 = cosd(r3) dp4 = dcosd(dp3) dp4 = cosd(dp3) qp4 = qcosd(qp3) qp4 = cosd(qp3) DESCRIPTION cos returns the real cosine of its real argument. dcos returns the double-precision cosine of its double-precision argument. qcos returns the real*16 cosine of its real*16 argument. ccos returns the complex cosine of its complex argument. zcos returns the complex*16 cosine of its complex*16 argument. cqcos returns the complex*32 cosine of its complex*32 argument. The argument for these functions must be in radians and is treated modulo 2*Pi. The generic cos function becomes dcos, qcos, ccos, zcos, or cqcos as required by argument type. cosd returns the real*4 cosine of its real*4 argument. dcosd returns the real*8 cosine of its real*8 argument, and qcosd returns the real*16 cosine of its real*16 argument. The argument for cosd, dcosd, and qcosd must be in degrees and is treated as modulo 360. The generic cosd function becomes dcosd or qcosd as required by argument type. SEE ALSO trig(3M).