1 2 3 4 5 6 7
#include "__complex.h" float cimagf(float complex z) { float_complex w = { .z = z }; return (IMAG_PART(w)); }