atanh()

NAME

atanh() - inverse hyperbolic tangent function

SYNOPSIS

#include <math.h>

double atanh (double x)

DESCRIPTION

The atanh(3) function computes the inverse hyperbolic tangent of the real argument x. For a discussion of error due to roundoff, see math(3).

RETURN VALUES

The atanh(3) function returns the inverse hyperbolic tangent of x if successful. On error, it returns NaN and sets errno to indicate the error.

ERRORS

The atanh(3) function can set the following errors:

[EDOM]
The argument is not a number, or the absolute value of x is equal to 1.0.

SEE ALSO

acosh(3)

asinh(3)

exp(3)

infnan(3)

math(3)