[Issue 11787] New: std.complex should have a separate Imaginary type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 20 08:18:02 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11787

           Summary: std.complex should have a separate Imaginary type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: joseph.wakeling at webdrake.net


--- Comment #0 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 2013-12-20 08:18:00 PST ---
The rationale for a separate imaginary type has been laid out in Kahan &
Thomas, "Augmenting a programming language with complex arithmetic",
http://www.eecs.berkeley.edu/Pubs/TechRpts/1992/CSD-92-667.pdf, and has also
been requested on the D mailing lists:
http://forum.dlang.org/thread/amzzoithhcsednerqjrk@forum.dlang.org

Briefly, it should allow more efficient calculations (as unnecessary
manipulations of 0 are avoided) and should allow a way round some calculations
that unnecessarily evaluate to NaN under the IEEE floating point standard.

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


More information about the Digitalmars-d-bugs mailing list