Compiler Library/XL Reference Manual (32650-90029)
2- 14
Result: A representable longreal number in the range
[-1.0, 1.0]. See Chapter 1 for details on the
internal representation of longreal numbers.
HP FORTRAN 77/XL: Intrinsic function: Y=DCOS(X).
Error: If the argument is a NaN or an Infinity, there
are two cases. If the INVALID trap is enabled,
the message "DCOS(X): X=NaN OR INFINITY"
occurs. Otherwise, the INVALID flag is set.
In either case, a quiet NaN is returned.
When DABS (X) >= 2.6378256 x 107 , DCOS (X)
completely loses significance. See Appendix A
for more details.
DCOSH (or DCOSH')
DCOSH calculates the hyperbolic cosine of a longreal number.
Declaration
FUNCTION DCOSH(VAR x:LONGREAL):LONGREAL; EXTERNAL;
Accuracy
Attributes
Parameter: A longreal number.
Result: A longreal number.
HP FORTRAN 77/XL: Intrinsic function: Y=DCOSH(X).
Error: If the argument is a NaN, there are two
possible actions. If the INVALID trap is
enabled, the message "DCOSH(X): X=NaN" occurs.
Otherwise, the INVALID flag is set. In either
case, a quiet NaN is returned.
If DABS(X) >= 709.7795518826419, the result
cannot be represented and the message "DCOSH(X)
OVERFLOW" occurs. See Appendix A for more
details.
DDINT (or DDINT')
DDINT truncates a longreal number to an integer number in longreal
representation.
Declaration
FUNCTION DDINT(x:LONGREAL):LONGREAL; EXTERNAL;
Attributes
Parameter: A longreal number.
Result: A longreal number.
HP FORTRAN 77/XL: Intrinsic function: Y=DDINT(X).