]> Cypherpunks repositories - gostls13.git/commit
strconv: fix bug in extended-float based conversion.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 22 Dec 2011 22:28:35 +0000 (17:28 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 22 Dec 2011 22:28:35 +0000 (17:28 -0500)
commit2afebbdf35baaf289328c86a7579c8961617ecf8
tree32c058a7bfd86869c1336f72c049944e851a9099
parentfc78c5aa000a1b7c5a2e894ce1b511385b280ccd
strconv: fix bug in extended-float based conversion.

A test intended for denormals erroneously returned true also for
infinities, leading to bad overflows and wrong error estimates.

R=rsc
CC=golang-dev, remy
https://golang.org/cl/5489091
src/pkg/strconv/atof_test.go
src/pkg/strconv/extfloat.go