COS(3F) SysV COS(3F)
NAME
cos, dcos, ccos - FORTRAN cosine intrinsic function
SYNOPSIS
real r1, r2
double precision dp1, dp2
complex cx1, cx2
r2 = cos(r1)
dp2 = dcos(dp1)
dp2 = cos(dp1)
cx2 = ccos(cx1)
cx2 = cos(cx1)
DESCRIPTION
cos returns the real cosine of its real argument. dcos returns the
double-precision cosine of its double-precision argument. ccos returns
the complex cosine of its complex argument. The generic form cos may be
used with impunity as its returned type is determined by that of its
argument.
SEE ALSO
trig(3M).