blob: b57fe8c40ba3bfe94047e8af1f17b12ff9e4dd89 [file] [log] [blame]
#include "libm.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));
}