[Issue 7166] New: Internal error: ../ztc/cgxmm.c 60

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 26 07:04:25 PST 2011


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

           Summary: Internal error: ../ztc/cgxmm.c 60
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-12-26 07:04:22 PST ---
64-bit only:

ScalarType inv( ScalarType )( ScalarType expr ) {
    return One!ScalarType / expr;
}


template One(T)

{

    enum T One = 1.0 + 0.0i;

}

/** Issue 52 - Inverting Scalars */
void testIssue52() {
    cdouble z = 2.0 + 2.0i, invz = inv( z );
}

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