Defined in header <complex.h> float complex CMPLXF( float real, float imag ); (since C11) double complex CMPLX( double real, double imag ); (since C11) long double complex CMPLXL( long double real, long double imag ); (since C11)
Each of these macros expands to an expression that evaluates to the value of the specified complex type, with the real part having the value of real (converted to the specified argument type) and the imaginary part having the