Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ asinh(3M) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

matherr(3M)

HYPERBOLIC(3M)  —  MATHEMATICAL LIBRARY

NAME

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);

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 acc 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. 

Sun Release 4.1  —  Last change: 22 Jul 1994

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