Compiler Library/XL Reference Manual (32650-90029)

2- 11
Attributes
Parameter: A complex number.
Result: A complex number.
HP FORTRAN 77/XL: Callable as a system intrinsic: Y=CTANH(X).
Error: See SIN, COS, SINH, and COSH error
descriptions.
DABS (or DABS')
DABS calculates the absolute value of a longreal number.
Declaration
FUNCTION DABS(x:LONGREAL):LONGREAL; EXTERNAL;
Attributes
Parameter: A longreal number.
Result: A longreal number.
HP FORTRAN 77/XL: Intrinsic function: Y=DABS(X).
Error: If the argument is a NaN, there are two
possible actions. If the INVALID trap is
enabled, the message "DABS(X): X=NaN" occurs.
Otherwise, the INVALID flag is set. In either
case, a quiet NaN is returned.
DADD
DADD calculates the sum of two integer numbers.
Declaration
FUNCTION DADD(VAR d1,d2:INTEGER):INTEGER; EXTERNAL;
Attributes
Parameters: Both arguments are integer numbers.
Result: An integer number.
HP FORTRAN 77/XL: Callable as a system intrinsic: I=DADD(J,K)
Error: If the result cannot be represented by an
integer number, an arithmetic trap INTEGER
OVERFLOW occurs if traps are enabled.
DATAN (or DATAN')
DATAN calculates the arctangent of a longreal number.
Declaration
FUNCTION DATAN(VAR x:LONGREAL):LONGREAL; EXTERNAL;
Accuracy