getusershell: skip blank lines and comments
[musl.git] / src / complex / cacoshf.c
blob8bd80581ae0d7d2ad42ceed52332570078f50943
1 #include "complex_impl.h"
3 float complex cacoshf(float complex z)
5 int zineg = signbit(cimagf(z));
7 z = cacosf(z);
8 if (zineg) return CMPLXF(cimagf(z), -crealf(z));
9 else return CMPLXF(-cimagf(z), crealf(z));