github.com/afumu/libc@v0.0.6/musl/src/complex/catanh.c (about) 1 #include "complex_impl.h" 2 3 /* atanh = -i atan(i z) */ 4 5 double complex catanh(double complex z) 6 { 7 z = catan(CMPLX(-cimag(z), creal(z))); 8 return CMPLX(cimag(z), -creal(z)); 9 }