add creal/cimag macros in complex.h (and use them in the functions defs)
[oweals/musl.git] / src / complex / casinhf.c
1 #include "libm.h"
2
3 float complex casinhf(float complex z)
4 {
5         z = casinf(cpackf(-cimagf(z), crealf(z)));
6         return cpackf(cimagf(z), -crealf(z));
7 }