Namespaces
Variants
Actions

Talk:c/numeric/complex/CMPLX

From cppreference.com

I would like to contribute an example to this page but CMPLX() yields an undefined reference, The statement

    double complex zd = 1.0 + 1.0 * I;

compiles but not a call to CMPLX().

Am I missing something in using the supplied compiler?

184.17.78.61 14:35, 7 February 2014 (PST) Thomas Kesler

IIRC none of the compilers that can be used for the examples support C11 yet. Please go ahead and include your example: compilation problems do not matter as long as the example is correct. Thanks. --P12 17:30, 7 February 2014 (PST)