www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11787] New: std.complex should have a separate Imaginary type

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 puremagic.com
        ReportedBy: joseph.wakeling 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: -------
Dec 20 2013