ATANH(3) Library Functions Manual ATANH(3)

atanh, atanhf, atanhlinverse hyperbolic tangent functions

#include <math.h>

double
atanh(double x);

float
atanhf(float x);

long double
atanhl(long double x);

The () function computes the inverse hyperbolic tangent of the real argument x. The () function is a single precision version of atanh(). The () function is an extended precision version of atanh().

If |x|>=1, atanh(x), atanhf(x) and atanhl(x) return +infinity, -infinity or NaN, and set the global variable errno to EDOM.

acosh(3), asinh(3), exp(3), fpclassify(3)

The atanh() function appeared in 4.3BSD.

June 29, 2021 OpenBSD 7.6