[Issue 10881] Support %f formatting for a std.complex.complex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 24 16:21:57 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10881



--- Comment #2 from hsteoh at quickfur.ath.cx 2013-08-24 16:21:56 PDT ---
Heh. Seem auto-promotion hid the fact that gaussian integers aren't actually
supported:

import std.complex;
void main() {
        auto x = complex!int(1,2);
        pragma(msg, typeof(x)); // prints Complex!double
}

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


More information about the Digitalmars-d-bugs mailing list