template<class T>
complex<T> atanh(complex<T>& x);
The atanh function computes the complex arc
hyperbolic tangent of x, with branch cuts
outside the interval [-1, +1] along the real axis.
From
IBM® XL
C/C++ for AIX®, V12.1, you
can use C99 library facilities in your C++ code. This new TR1 template
function
atanh produces the same results as
the existing C99 functions, as indicated in the following table.
TR1 template function |
Corresponding C99 function |
template <> complex<float>
atanh(complex<float>& x);
|
float complex catanhf(float complex z);
|
template <> complex<double>
atanh(complex<double>& x);
|
double complex catanh(double complex z);
|
template <> complex<long double>
atanh(complex<long double>& x);
|
long double complex
catanhl(long double complex z);
|
Note: To enable the TR1 headers, you must define
the macro __IBMCPP_TR1__ as 1.