man Pages(3): Library Routines
  Search only this book
Download this book in PDF

NAME

hyperbolic, sinh, cosh, tanh, asinh, acosh, atanh - hyperbolic functions

SYNOPSIS

#include <math.h>
double sinh(double x);
double cosh(double x);
double tanh(double x);
double asinh(double x);
double acosh(double x);
double atanh(double x);

MT-LEVEL

MT-Safe

DESCRIPTION

These functions compute the designated direct and inverse hyperbolic functions for real arguments.

RETURN VALUES

For exceptional cases, matherr(3M) tabulates the values to be returned as dictated by various Standards.

SEE ALSO

matherr(3M)

DIAGNOSTICS

In IEEE 754 mode (i.e. the --xlibmieee cc compilation option), sinh( ) and cosh( ) return .. as appropriate on overflow and raise the overflow exception; acosh( ) returns a NaN and raises the invalid operation exception if its argument is less than 1; atanh( ) returns a NaN and raises the invalid operation exception if its argument has absolute value greater than 1; atanh(.1 )returns .. and raises the division by zero exception.