CATANH(3) Library Functions Manual CATANH(3)

catanhcomplex inverse hyperbolic tangent function

double complex
catanh(double complex z);

long double complex
catanhl(long double complex z);

float complex
catanhf(float complex z);

(z) computes the inverse hyperbolic tangent of the complex floating-point number z, with branch cuts outside the interval [-1, 1] along the real axis.

() returns values in a strip of the complex plane with imaginary part in the interval [-Pi/2, Pi/2].

For all complex floating point numbers z,

catanh(conj(z)) = conj(catanh(z)).
catanh(-z) = -catanh(z)

The symmetries of catanh() are used to abbreviate the specification of special values.

(0 + 0i) returns 0 + 0 i.

(0 + NaN i) returns 0 + NaN i.

(1 + 0i) returns inf + 0i and raises the divide-by-zero flag.

(x + inf i) returns 0 + Pi/2 i, for finite positive-signed x.

(x + NaN i) returns NaN + NaN i, for non-zero finite x.

(inf + yi) returns 0 + Pi/2 i, for finite positive-signed y.

(inf + inf i) returns 0 + Pi/2 i.

(inf + NaN i) returns 0 + NaN i.

(NaN + yi) returns NaN + NaN i, for finite y.

(NaN + inf i) returns 0 + Pi/2 i.

(NaN + NaN i) returns NaN + NaN i.

ctanh(3) complex(3)

The catanh() function conforms to ISO/IEC 9899:2011.

December 11, 2006 BSD 4