www.digitalmars.com         C & C++   DMDScript  

D - DMD 0.20 complex

reply John Fletcher <J.P.Fletcher aston.ac.uk> writes:
Walter

Thanks, that solves the immediate issues with complex.

There is one problem.  The following code (which doesn't actually make
much sense now) gives an internal error.

int main(char[][] args)
{
    complex z1 = 1. - 2.i;
    extended imag_part = z1.im/1i;
    return 0;
}

Internal error: toelem.c 399

Best wishes

John
Feb 27 2002
parent "Walter" <walter digitalmars.com> writes:
"John Fletcher" <J.P.Fletcher aston.ac.uk> wrote in message
news:3C7CFF63.50484710 aston.ac.uk...
 Internal error: toelem.c 399
Thanks. A fix for that will be in the next release.
Feb 27 2002