• 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
..
doc.go Loading commit data...
export_test.go Loading commit data...
fmt_test.go Loading commit data...
format.go Loading commit data...
print.go Loading commit data...
scan.go Loading commit data...
scan_test.go Loading commit data...
stringer_test.go Loading commit data...