Name

catanh

Synopsis

Calculates the inverse hyperbolic tangent of a complex number

#include <complex.h>
double complexcatanh( double complex z );
float complex catanhf( float complex z );
long double complex catanhl( double long complex z );

The catanh() functions return the number whose hyperbolic tangent is equal to their argument z. The imaginary part of the return value is in the interval [-π/2 × i, π/2 × i].

Example

See the example for catan() in this chapter.

See Also

Other hyperbolic trigonometry functions for complex numbers: casinh(), cacosh(), csinh(), ccosh(), and ctanh(); the hyperbolic tangent and inverse hyperbolic tangent functions for real numbers: tanh() and atanh()

Get C in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.