[Issue 10927] Power of complex number causes an internal error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 30 15:34:56 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10927



--- Comment #1 from hsteoh at quickfur.ath.cx 2013-08-30 15:34:55 PDT ---
Built-in complex numbers are deprecated; instead, use std.complex:

----
import std.complex;
import std.stdio;
void main()
{
    writeln(complex(1,2)^^3); // prints -11-2i
}
----

I'll leave this bug open, though, since an ICE is a problem even if it's caused
by deprecated features.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list