]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.13] doc/go1.13: document _ between digits for math/big, strconv
authorEmmanuel T Odeke <emmanuel@orijtech.com>
Wed, 21 Aug 2019 05:09:31 +0000 (23:09 -0600)
committerAndrew Bonventre <andybons@golang.org>
Fri, 23 Aug 2019 17:22:08 +0000 (17:22 +0000)
commita5a92aa6733d96ed7ccd4882bbf0fadb8fd098b6
treec8328b2c8bf9b2c5f5d4a57800981e99f61e31e0
parent5c379a437e904eb1f94296fa9d45276cd6e4f5a9
[release-branch.go1.13] doc/go1.13: document _ between digits for math/big, strconv

Document that:
* math/big.Float.Parse
* math/big.Int.SetString
* strconv.ParseFloat
* strconv.ParseInt
* strconv.ParseUint
now accept underscores to group digits only if base = 0,
as per the Go 2 language changes.

Updates #32815

Change-Id: Id45bd803a18442436419739297e8aed0d32ca56c
Reviewed-on: https://go-review.googlesource.com/c/go/+/191077
Reviewed-by: Robert Griesemer <gri@golang.org>
(cherry picked from commit e764432605cb26478067890b49f4f16019c9a9b9)
Reviewed-on: https://go-review.googlesource.com/c/go/+/191477
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
doc/go1.13.html