Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sinh(3m) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



SINH(3m,L)                  AIX Technical Reference                  SINH(3m,L)



-------------------------------------------------------------------------------
sinh, cosh, tanh



PURPOSE

Computes hyperbolic functions.

LIBRARY

Math Library (libm.a)

SYNTAX

#include <math.h>




                double sinh (x)             double tanh (x)
                double x;                   double x;

                double cosh (x)
                double x;



DESCRIPTION

The sinh subroutine returns the hyperbolic sine of its parameter.  The cosh
subroutine returns the hyperbolic cosine of its parameter.  The tanh subroutine
returns the hyperbolic tangent of its parameter.

The sinh and the cosh subroutines return HUGE if the correct value overflows.
errno is also set to ERANGE.

You can use the matherr subroutine to change these error-handling procedures.
See "matherr" for details.

ERROR CONDITIONS

The sinh, cosh, and tanh subroutines fail if the following is true:

EDOM      The value of x is NaN.

The cosh and sinh subroutines fail if the following is true:

ERANGE    The result would cause overflow.






Processed November 7, 1990        SINH(3m,L)                                  1



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