aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2021-06-08 14:26:13 -0700
committerDamien Neil <dneil@google.com>2021-06-09 18:32:06 +0000
commita5bc060b42fe1bee8910a1081eff0a1047b15869 (patch)
tree6544219d6f887643785240a9ef0d503980e4d9ee /doc
parent1402b27d465d9949027a048ea2c86a3583400b4c (diff)
downloadgo-a5bc060b42fe1bee8910a1081eff0a1047b15869.tar.gz
go-a5bc060b42fe1bee8910a1081eff0a1047b15869.zip
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 <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html9
1 files changed, 3 insertions, 6 deletions
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 {
<dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
<dd>
- <p><!-- CL 170079 -->
- TODO: <a href="https://golang.org/cl/170079">https://golang.org/cl/170079</a>: implement Ryū-like algorithm for fixed precision ftoa
- </p>
-
- <p><!-- CL 170080 -->
- TODO: <a href="https://golang.org/cl/170080">https://golang.org/cl/170080</a>: Implement Ryū algorithm for ftoa shortest mode
+ <p><!-- CL 170079, CL 170080 -->
+ The <code>strconv</code> 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.
</p>
<p><!-- CL 314775 -->