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