This function evaluates a function closely related to the hyperbolic cosine integral.
CINH — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Specific: The specific interface names are S_CINH and D_CINH.
Double: The double precision function name is DCINH.
The alternate definition of the hyperbolic cosine integral, Cinh(x), is
where s = AMACH(1) is the smallest representable positive number, the result underflows. The argument x must be large enough that e−x/x does not underflow, and x must be small enough that ex does not overflow.
2 1 The function underflows because X is too small.
In this example, Cinh(2.5) is computed and printed.
99999 FORMAT (' CINH(', F6.3, ') = ', F6.3)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |