complex c = 1.0 + 2.0 * I ; // 1 + 2 i float r = re( c ) ; // Gets the real part of c print( r );