hyperbolic(3M)
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 with exceptions
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.
DIAGNOSTICS
In IEEE754 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.
SEE ALSO
NOTES
These functions are MT-Safe when compiled with the shared library, libm.so, but are unsafe if compiled with the archived library libm.a.
SunOS 5.2 — Last change: 5 Mar 1993