TANH (or TANH') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
TANH (or TANH')
TANH calculates the hyperbolic tangent of a real number.
Declaration
FUNCTION TANH(VAR x:REAL):REAL; EXTERNAL;
Accuracy
Attributes
Parameter: A real number.
Result: A representable real number in the range [0.0,
1.0]. See Chapter 1 for details on the
internal representation of real numbers.
HP FORTRAN 77/XL: Intrinsic function: Y=TANH(X).
Error: If the argument is a NaN, there are two
possible actions. If the INVALID trap is
enabled, the message "TANH(X): X=NaN" occurs.
Otherwise, the INVALID flag is set. In either
case, a quiet NaN is returned.
MPE/iX 5.0 Documentation