The following functions are available only if <complex.h>
is included before mpc.h.
double complex mpc_get_dc (const mpc_t op, mpc_rnd_t rnd) ¶long double complex mpc_get_ldc (mpc_t op, mpc_rnd_t rnd) ¶Convert op to a C complex number, using the rounding mode rnd.
With the Microsoft compiler, which does not provide the standard type
double complex or long double complex, replace
double _Complex by _Dcomplex and
long double _Complex by _Lcomplex.
For functions converting complex variables to strings or stream output, see String and Stream Input and Output.