]> Cypherpunks repositories - gostls13.git/commit
fix bug in complex printing: imaginary didn't have same format as real.
authorRob Pike <r@golang.org>
Sat, 6 Mar 2010 21:38:14 +0000 (13:38 -0800)
committerRob Pike <r@golang.org>
Sat, 6 Mar 2010 21:38:14 +0000 (13:38 -0800)
commitcba81d8058ddd2b20aebecc02598fd8bd45f99bf
tree90113979ef271091fb7830c24f98a96ad4a7e15b
parent788b41751e1098b52f43b74dc26954ad97437e8f
fix bug in complex printing: imaginary didn't have same format as real.
add tests.

R=rsc, ken2, ken3
CC=golang-dev
https://golang.org/cl/261041
src/pkg/fmt/fmt_test.go
src/pkg/fmt/format.go
src/pkg/fmt/print.go