typedef struct { float real, imag; } complex; typedef struct { double dreal, dimag; } dcomplex;