Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cosh(3M) — sys5 — Apollo Domain/OS SR10.4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

matherr(3M)

SINH(3M)                             SysV                             SINH(3M)



NAME
     sinh, cosh, tanh - hyperbolic functions

SYNOPSIS
     #include <math.h>

     double sinh (x)
     double x;

     double cosh (x)
     double x;

     double tanh (x)
     double x;

DESCRIPTION
     sinh, cosh, and tanh return, respectively, the hyberbolic sine, cosine
     and tangent of their argument.

DIAGNOSTICS
     The sinh function returns the hyperbolic sine of its parameter. If the
     result would cause an overflow, HUGE_VAL is returned and errno is set to
     [ERANGE].  If x is NaN, NaN is returned. Otherwise, +HUGE_VAL or NaN is
     returned.

     The cosh function returns the hyperbolic cosine of its parameter.  If the
     result would cause an overflow, HUGE_VAL is returned and errno is set to
     [ERANGE].  If x is NaN, NaN is returned.  Otherwise, either errno is set
     to indicate the error or NaN is returned.

     The tanh function returns the hyperbolic tangent of its parameter.  If x
     is NaN, NaN is returned.  Otherwise, either zero is returned and errno is
     set to indicate the error, or NaN is returned.

     These error-handling procedures may be changed with the function
     matherr(3M).

ERRORS
     The sinh or cosh, function fails if:

     [ERANGE]  The result of the sinh or cosh function would cause an
               overflow.

SEE ALSO
     <math.h>, matherr(3M).

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026