Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

asinh(3)  —  Subroutines

NAME

asinh, acosh, atanh − Computes inverse hyperbolic functions

LIBRARY

Math Library (libm.a)

SYNOPSIS

#include <math.h>

double asinh  (double x);
float  asinhf (float  x);
double atanh  (double x);
float  atanhf (float  x);
double acosh  (double x);
float  acoshf (float  x);

DESCRIPTION

The asinh() and asinhf() functions return the hyperbolic arc sine of x, in the range [-infinity, +infinity] where asinh(x) = ln(x + sqrt(x∗∗2 + 1)). 

The acosh()  and acoshf() functions return the hyperbolic arc cosine of x, in the range [1, +infinity] where acosh(x) = ln (x + sqrt(x∗∗2 - 1)). 

The atanh() and atanhf() functions return the hyperbolic arc tangent of x, in the range (-1, 1). atanh() is the reverse function of tanh() where atanh(tanh(x)) = x. 

Function Exceptional Argument Routine Behavior
asinh() None N/A
asinhf() None N/A
acosh() x<1 invalid argument
acoshf() x<1 invalid argument
atanh() x>1 or x=1 invalid argument
atanhf() x>1 or x=1 invalid argument

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