Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sinh(3M) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

matherr(3M)



sinh(3M)                 UNIX System V(Math Libraries)                 sinh(3M)


NAME
      sinh, sinhf, cosh, coshf, tanh, tanhf, asinh, acosh, atanh - hyperbolic
      functions

SYNOPSIS
      cc [flag ...] file ...  -lm [library ...]

      #include <math.h>

      double sinh (double x);

      float sinhf (float x);

      double cosh (double x);

      float coshf (float x);

      double tanh (double x);

      float tanhf (float x);

      double asinh (double x);

      double acosh (double x);

      double atanh (double x);

DESCRIPTION
      sinh, cosh, and tanh and the single-precision versions sinhf, coshf, and
      tanhf return, respectively, the hyberbolic sine, cosine, and tangent of
      their argument.

      asinh, acosh, and atanh return, respectively, the inverse hyperbolic
      sine, cosine, and tangent of their argument.

SEE ALSO
      matherr(3M)

DIAGNOSTICS
      sinh, sinhf, cosh, and coshf return HUGE (and sinh and sinhf may return
      -HUGE for negative x) when the correct value would overflow and set errno
      to ERANGE.

      acosh returns NaN and sets errno to EDOM when the argument x is less than
      1.  A message indicating DOMAIN error is printed on the standard error
      output.

      atanh returns NaN and sets errno to EDOM if | x| > 1.  If | x| = 1, a
      message indicating SING error is printed on the standard error output; if
      | x| > 1 the message will indicate DOMAIN error.




10/89                                                                    Page 1







sinh(3M)                 UNIX System V(Math Libraries)                 sinh(3M)


      Except when the -Xc compilation option is used, these error-handling
      procedures may be changed with the function matherr.  When the -Xa or -Xc
      compilation options are used, HUGEVAL is returned instead of HUGE and no
      error messages are printed.


















































Page 2                                                                    10/89





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