b69f695a
1 2 3 4 5 6
#include "libm.h" double carg(double complex z) { return atan2(cimag(z), creal(z)); }