fix getaddrinfo regression with AI_ADDRCONFIG on some configurations
[musl.git] / src / complex / csinf.c
blob60b3cbaa8681ad3d5f31e40d4a86db764a053227
1 #include "libm.h"
3 float complex csinf(float complex z)
5 z = csinhf(CMPLXF(-cimagf(z), crealf(z)));
6 return CMPLXF(cimagf(z), -crealf(z));