Created attachment 3
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]
Comment #2 by bugs-d — 2006-03-18T11:11:38Z
(In reply to comment #1)
> Created an attachment (id=3) [edit]
> Check precision and base correctly.
Darn, minor nit - I used a tab for a comment above the addition to the unittests, which should be 4 spaces (sorry, have a hard habit of indenting purely with tabs.)
-[Unknown]
Comment #3 by matti.niemenmaa+dbugzilla — 2006-04-03T05:48:28Z