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: nob...@puremagic.com ReportedBy: monarchdo...@gmail.com --- Comment #0 from monarchdo...@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: -------