Fixes specific case as in printf("%03d\n", -2), which
would put the sign digit after the leading zeros.
Make sure the sign bits are before any leading zeros or spaces.
Add test case for this.
Fixes specific case as in printf("%03d\n", -2), which
would put the sign digit after the leading zeros.
Make sure the sign bits are before any leading zeros or spaces.
Add test case for this.