casinh(), casinhf(), casinhl()

Compute the complex inverse hyperbolic sine

Synopsis:

#include <complex.h>

double complex casinh( double complex z );

float complex casinhf( float complex z );

long double complex casinhl( long double complex z );

Arguments:

z
The value that you want to get the complex inverse hyperbolic sine of.

Library:

libm

Use the -l m option to qcc to link against this library.

Description:

These functions compute the complex inverse hyperbolic sine of z, with branch cuts outside the interval [−i; +i] along the imaginary axis.

To check for error situations, use feclearexcept() and fetestexcept():

Returns:

The complex inverse hyperbolic sine of z.

If z is: These functions return:
+0+0i +0+0i
x+i (for any positive finite x) ++π/2
x+NaNi (for any finite x) NaN+NaNi and FE_INVALID may be raised
++yi (for any positive finite y) ++0i
++i ++iπ/4
++NaNi ++NaNi
NaN+0i NaN+0i
NaN+yi (for any finite nonzero y) NaN+NaNi and FE_INVALID may be raised
NaN+i ±+NaNi (the sign of the real part is unspecified)
NaN+NaNi NaN+NaNi

Classification:

ANSI, POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes