casinhf, casinh, casinhl - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# casinhf, casinh, casinhl

From cppreference.com
< c‎ | numeric‎ | complex

Defined in header `<complex.h>` |  |
float complex casinhf( float complex z ); |  | (since C99)
double complex casinh( double complex z ); |  | (since C99)
long double complex casinhl( long double complex z ); |  | (since C99)

Computes the complex arc hyperbolic sine of `z` with branch cuts outside the interval [−i; +i] along the imaginary axis.

### [edit] Parameters

z | - | complex argument

### [edit] Return value

The complex arc hyperbolic sine of `z` in the interval (−∞; +∞) along the real axis and in the interval [−iπ/2; +iπ/2] along the imaginary axis.

### [edit] Example

Run this code

    #include <stdio.h>
    #include <complex.h>

    int main(void)
    {
        double complex z;

        z = csinh(1.0+2.0*I);
        printf("csinh(1.0+2.0*I)             ==> %f%+fi\n", creal(z),cimag(z));

        z = casinh(-0.489056+1.403119*I);
        printf("casinh(-0.489056+1.403119*I) ==> %f%+fi\n", creal(z),cimag(z));

        return 0;
    }

Output:

    csinh(1.0+2.0*I)              ==> -0.489056+1.403119i
    casinh(-0.489056+1.403119i*I) ==> -1.000000+1.141593i

### [edit] See also

cacoshcacoshfcacoshl (C99)(C99)(C99) | computes the complex arc hyperbolic cosine (function) [edit]
catanhcatanhfcatanhl (C99)(C99)(C99) | computes the complex arc hyperbolic tangent (function) [edit]
csinhcsinhfcsinhl (C99)(C99)(C99) | computes the complex hyperbolic sine (function) [edit]
asinhasinhfasinhl (C99)(C99)(C99) | computes inverse hyperbolic sine (arsinh(x)) (function) [edit]
C++ documentation for asinh

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/complex/casinh&oldid=70586"