• Rob Pike's avatar
    fmt: fix signs when zero padding. · b559392e
    Rob Pike authored
    Bug was introduced recently. Add more tests, fix the bugs.
    Suppress + sign when not required in zero padding.
    Do not zero pad infinities.
    All old tests still pass.
    This time for sure!
    Fixes #8217.
    
    LGTM=rsc
    R=golang-codereviews, dan.kortschak, rsc
    CC=golang-codereviews
    https://golang.org/cl/103480043
    b559392e
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...