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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 30 06:32:22 PDT 2013


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

           Summary: Power of complex number causes an internal error
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ttanjo at gmail.com


--- Comment #0 from Tomoya Tanjo <ttanjo at gmail.com> 2013-08-30 06:32:21 PDT ---
The following code causes an internal error in dmd v2.064-devel-2d0de85 on
Linux 64bit.

---
void main()
{
    auto a = (1+2i)^^3;
}
---

Output:

$ rdmd error.d
1.00000
cdouble 0x1bfe8e0
cdouble 0x1bfe8e0
ty = 29, tym = 19
Internal error: e2ir.c 1424

-- 
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