Compiler Library/XL Reference Manual (32650-90029)

2- 26
Attributes
Parameter: A real number in radians.
Result: A representable real number in the range [-1.0,
1.0]. See Chapter 1 for details on the
internal representation of real numbers.
HP FORTRAN 77/XL: Intrinsic function: Y=SIN(X).
Error: If the argument is a NaN or an Infinity, there
are two possible actions. If the INVALID trap
is enabled, the message "SIN(X): X=NaN OR
INFINITY" occurs. Otherwise, the INVALID flag
is set. In either case, a quiet NaN is
returned.
SINH (or SINH')
SINH calculates the hyperbolic sine of a real number.
Declaration
FUNCTION SINH(VAR x:REAL):REAL; EXTERNAL;
Accuracy
Attributes
Parameter: A real number.
Result: A real number.
HP FORTRAN 77/XL: Intrinsic function: Y=SINH(X).
Error: If the argument is a NaN, there are two
possible actions. If the INVALID trap is
enabled, the message "SINH(X): X=NaN" occurs.
Otherwise, the INVALID flag is set. In either
case, a quiet NaN is returned.
If ABS(X) >= 88.7196, the result cannot be
represented and the message "SINH(X) OVERFLOW"
occurs. See Appendix A for more details.
SQRT (or SQRT')
SQRT calculates the square root of a real number.
Declaration
FUNCTION SQRT(VAR x:REAL):REAL; EXTERNAL;
Accuracy
When x-y ~ , maximum f-g ~ cosh x