HP 3000 Manuals

DCOSH (or DCOSH') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

DCOSH (or DCOSH') 

DCOSH calculates the hyperbolic cosine of a longreal number.

Declaration 

        FUNCTION DCOSH(VAR x:LONGREAL):LONGREAL; EXTERNAL;

Accuracy 

	       Click here to view figure.
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.



MPE/iX 5.0 Documentation