[Bug 55] doFormat precision fails on integers < 10

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 18 09:06:13 PST 2006


http://d.puremagic.com/bugzilla/show_bug.cgi?id=55





------- Comment #1 from unknown at simplemachines.org  2006-03-18 11:06 -------
Created an attachment (id=3)
 --> (http://d.puremagic.com/bugzilla/attachment.cgi?id=3&action=view)
Check precision and base correctly.

This patch:

1. Addresses Regan Heath's comments (which are the same I had before reading
his.)
2. Still passes all of std.format's existing unittests, and seems to work fine
for all bases.
3. Adds this bug to the unittests in format.d.

Thanks,
-[Unknown]


-- 




More information about the Digitalmars-d-bugs mailing list