[Issue 8531] formatting string documentation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 27 09:04:04 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8531
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #1 from hsteoh at quickfur.ath.cx 2012-10-27 09:04:03 PDT ---
Actually, I think %u is redundant. std.format uses compile-time introspection
to do the "right thing" for %d. You can pass an unsigned number for %d and it
works correctly. I just tested %u, it seems that it's just an alias for %d:
int a = -10;
writefln("%u", a); // outputs "-10"
So I think this bug is invalid.
--
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