blob: 50bf27ce88ea426e67fec4f140560ac5445067a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include "complex_impl.h"
/* asinh(z) = -i asin(i z) */
double complex casinh(double complex z)
{
z = casin(CMPLX(-cimag(z), creal(z)));
return CMPLX(cimag(z), -creal(z));
}
|