/*pcomplex.h - definitions for pcomplex.c*/ typedef struct { double real, imaginary; } complex; #define Re(x) ((x)->real) #define Im(x) ((x)->imaginary)