source:
EcnlProtoTool/trunk/musl-1.1.18/src/complex/catanh.c
Last change on this file was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 167 bytes |
Line | |
---|---|
1 | #include "libm.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 | } |
Note:
See TracBrowser
for help on using the repository browser.