]> Cypherpunks repositories - gostls13.git/commit
strconv: handle [-+]Infinity in atof
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 11 Jul 2011 14:25:45 +0000 (07:25 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 11 Jul 2011 14:25:45 +0000 (07:25 -0700)
commitf19b24a182c445ceb3d998b2ebc20f1d8718df9b
tree16a683db8420e3e45b0676b22ecc9fbfd6cef525
parentd366c369450991ad9d942fc5aa3ea7e6c99e40a0
strconv: handle [-+]Infinity in atof

This is the form as returned by Postgres, as well
as JavaScript.

I've tried and failed to find authorative docs online
about the proper string serialization, if any.

R=golang-dev, gri, r, r, rsc
CC=golang-dev
https://golang.org/cl/4650077
src/pkg/strconv/atof.go
src/pkg/strconv/atof_test.go