source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/complex/catanh.c@
337
Last change on this file since 337 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 167 bytes |
Rev | Line | |
---|---|---|
[337] | 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.