Developer Guide and Reference

Contents

Hyperbolic Functions

Many routines in the Intel® Math Library are more optimized for Intel® microprocessors than for non-Intel microprocessors.
The
mathimf.h
header file includes prototypes for Intel® Math Library functions.
The Intel® Math Library supports the following
hyperbolic
functions:

acosh

Description:
The
acosh
function returns the inverse hyperbolic cosine of
x
.
errno
: EDOM, for x < 1
Calling interface:
double acosh(double x);
long double acoshl(long double x);
float acoshf(float x);

asinh

Description:
The
asinh
function returns the inverse hyperbolic sine of
x
.
Calling interface:
double asinh(double x);
long double asinhl(long double x);
float asinhf(float x);

atanh

Description:
The
atanh
function returns the inverse hyperbolic tangent of
x
.
errno
:
EDOM, for |x| > 1
ERANGE, for x = 1
Calling interface:
double atanh(double x);
long double atanhl(long double x);
float atanhf(float x);

cosh

Description:
The
cosh
function returns the hyperbolic cosine of
x
, (
e
x
+
e
-x
)/2.