]> Cypherpunks repositories - gostls13.git/commit
strconv: fix round up corner case
authorRuss Cox <rsc@golang.org>
Thu, 12 Jan 2012 19:32:28 +0000 (11:32 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 12 Jan 2012 19:32:28 +0000 (11:32 -0800)
commit6f77cd291419dcd70faf611ecc82dc50cc294552
tree18a2309a4b2a009ff5f92ac6ce639e820b3fb571
parent701f70abf6ac76fbd28c640ec49609090882f05a
strconv: fix round up corner case

Comment described the correct condition
but the code did not implement it.

Fixes #2625.

R=remyoudompheng
CC=golang-dev
https://golang.org/cl/5530082
src/pkg/strconv/ftoa.go
src/pkg/strconv/ftoa_test.go