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