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►
────────────────────────────────────────────────────────────────────────────
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 and sets errno to ERANGE.
If the result is too large in a sinh call, the function returns
±HUGE_VAL and sets errno to ERANGE.
There is no error return for tanh.
-♦-