Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ asinh(3M) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cosh(3M)

matherr(3M)

sinh(3M)

tanh(3M)

attributes(5)

standards(5)

acosh(3M)

NAME

acosh, asinh, atanh − inverse hyperbolic functions

SYNOPSIS

cc [ flag ... ] file ... −lm [ library ... ]

#include <math.h>

double acosh(double x);

double asinh(double x);

double atanh(double x);

DESCRIPTION

The acosh(), asinh() and atanh() functions compute the inverse hyperbolic cosine, sine, and tangent of their argument, respectively. 

RETURN VALUES

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

The acosh() function returns NaN and sets errno to EDOM when its argument is less than 1.0. 

The atanh() function returns NaN and sets errno to EDOM when its argument has absolute value greater than 1.0. 

The atanh() function returns ±Inf and sets errno to ERANGE when its argument is ±1.0. 

If x is NaN, the asinh(), acosh() and atanh() functions return NaN. 

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

ERRORS

The acosh() function will fail if:

EDOM The x argument is less than 1.0. 

The atanh() function will fail if:

EDOM The x argument has an absolute value greater than 1.0. 

ERANGE The x argument has an absolute value equal to 1.0

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

cosh(3M), matherr(3M), sinh(3M), tanh(3M), attributes(5), standards(5)

SunOS 5.6  —  Last change: 29 Dec 1996

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