Bug 9156 – std.complex inconsistency between `std.complex.Complex` vs `std.complex.complex`

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-12-14T01:57:00Z
Last change time
2015-06-09T05:15:01Z
Assigned to
nobody
Creator
monarchdodra

Comments

Comment #0 by monarchdodra — 2012-12-14T01:57:13Z
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 } //----
Comment #1 by monarchdodra — 2012-12-14T02:20:47Z
Comment #2 by monarchdodra — 2012-12-16T23:43:17Z
Verified fixed by monarchdodra on 17 dec 2012.