HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11536
Result value
The result has a value equal to a processor-dependent approximation to cos(X). If X is of type
real, it is regarded as a value in radians. If X is of type complex, its real part is regarded as a
value in radians.
Specific forms
CCOS, CDCOS, DCOS, QCOS, ZCOS.
COSD(X)
Description
Cosine function in degrees.
Class
Elemental nonstandard function.
Argument
X must be of type real.
Result type/
type parameters
Same as X.
Result value
The result has a value equal to a processor-dependent approximation to cos(X).
Specific forms
DCOSD, QCOSD.
COSH(X)
Description
Hyperbolic cosine function.