diff options
| author | Rob Pike <r@golang.org> | 2014-05-21 12:30:43 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2014-05-21 12:30:43 -0700 |
| commit | 4464ae280f6b6cd16ac23677aba05ac69e26c896 (patch) | |
| tree | 790bf4752fe52601f04ed0a200333216637466a7 /src/cmd/objdump | |
| parent | f9c6ad9b6bad25bff480b95d3ebf6a780e86964d (diff) | |
| download | go-4464ae280f6b6cd16ac23677aba05ac69e26c896.tar.xz | |
fmt: fix floating-point padding once and for all
Rewrite formatFloat to be much simpler and clearer and
avoid the tricky interaction with padding.
The issue refers to complex but the problem is just floating-point.
The new tests added were incorrectly formatted before this fix.
Fixes #8064.
LGTM=jscrockett01, rsc
R=rsc, jscrockett01
CC=golang-codereviews
https://golang.org/cl/99420048
Diffstat (limited to 'src/cmd/objdump')
0 files changed, 0 insertions, 0 deletions
