CMPLXF, CMPLX, CMPLXL
Defined in header
float complex CMPLXF( float real, float imag );
double complex CMPLX( double real, double imag );
long double complex CMPLXL( long double real, long double imag );
Returns a complex number composed of
real as the real part and
imag as the imaginary part. The functions are implemented as macros.
The returned value is suitable for use as an initializer for variables with static or thread storage duration, but only if
imag are also suitable.
|real||-||the real part of the complex number to return|
|imag||-||the imaginary part of the complex number to return|
 Return value
A complex number composed of
imag as the real and imaginary parts.
|This section is incomplete|
Reason: no example
 See also
| the complex or imaginary unit constant i |
C++ documentation for complex