Thread overview
[Issue 9156] New: std.complex inconsistency between `std.complex.Complex` vs `std.complex.complex`
December 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9156

           Summary: std.complex inconsistency between
                    `std.complex.Complex` vs `std.complex.complex`
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: monarchdodra@gmail.com


--- Comment #0 from monarchdodra@gmail.com 2012-12-14 01:57:13 PST ---
Basically, the constructor vs the convenience function:

//----
import std.stdio;
import std.complex;
void main()
{
   Complex!double c1 = Complex!double(1);
   Complex!double c2 = complex!double(1);
   c1.writeln(); // 1+nani
   c2.writeln(); // 1+0i
}
//----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9156



--- Comment #1 from monarchdodra@gmail.com 2012-12-14 02:20:47 PST ---
https://github.com/D-Programming-Language/phobos/pull/1005

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 17, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9156


monarchdodra@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from monarchdodra@gmail.com 2012-12-16 23:43:17 PST ---
Verified fixed by monarchdodra on 17 dec 2012.

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