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: nob...@puremagic.com
        ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha <dsim...@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: -------

Reply via email to