From: Damien Neil Date: Tue, 8 Jun 2021 21:26:13 +0000 (-0700) Subject: doc/go1.17: document strconv changes for Go 1.17 X-Git-Tag: go1.17beta1~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a5bc060b42fe1bee8910a1081eff0a1047b15869;p=gostls13.git doc/go1.17: document strconv changes for Go 1.17 For #44513. Fixes #46021. Change-Id: I40a4645fedfae24f67e249743c6a143e71b9f507 Reviewed-on: https://go-review.googlesource.com/c/go/+/326150 Trust: Damien Neil Run-TryBot: Damien Neil TryBot-Result: Go Bot Reviewed-by: Heschi Kreinick Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/go1.17.html b/doc/go1.17.html index 6c53aaaa88..988026f44d 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -838,12 +838,9 @@ func Foo() bool {
strconv
-

- TODO: https://golang.org/cl/170079: implement Ryū-like algorithm for fixed precision ftoa -

- -

- TODO: https://golang.org/cl/170080: Implement Ryū algorithm for ftoa shortest mode +

+ The strconv package now uses Ulf Adams's Ryū algorithm for formatting floating-point numbers. + This algorithm improves performance on most inputs, and is more than 99% faster on worst-case inputs.