[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    hyperbolic(3M) manual page Table of Contents

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 IEEE754 mode (i.e. the -xlibmieee cc compilation option), sinh() and cosh() return ±if 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 ±if and raises the division by zero exception.


Table of Contents