Im
#define Im(_CC) (_CC.m_im)
returns the imaginary part of the complex value.
the imaginary part
EX1
void run_complex_Im() { complex cc(4.5, 7.8); // Display the imaginary part: out_double("imaginary part = ", Im(cc)); // shoulde be 7.8 }
origin.h