blob: 50bf27ce88ea426e67fec4f140560ac5445067a9 [file] [log] [blame]
#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));
}