C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Hyperbolic Trigonometric Functions
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The cosh, sinh, and tanh hyperbolic trigonometric functions return
     the hyperbolic cosine, hyperbolic sine, and hyperbolic tangent,
     respectively, of <x>.
 
     The long double functions use an 80-bit long double form of
     arguments and return values. In all other respects, they are
     identical to the regular functions.
 
     Return Value
 
     If the result is too large in a cosh call, the function returns
     HUGE_VAL (or _LHUGE_VAL for _coshl) and sets errno to ERANGE.
 
     If the result is too large in a sinh call, the function returns
     ±HUGE_VAL (or ±_LHUGE_VAL for _sinhl) and sets errno to ERANGE.
     This behavior can be changed with _matherr.
 
     There is no error return for tanh.
                                    -♦-