aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2020-06-02 13:46:34 -0400
committerJulie Qiu <julie@golang.org>2020-06-04 03:50:41 +0000
commitcb5fad79d068420409686f435385a8d62f26c56f (patch)
tree239d9920f29fe857f537ee8b6b2e1c5fe8a35071
parent429d2c548d8fcceff95c29ea5074aab9498fa0c3 (diff)
downloadgo-cb5fad79d068420409686f435385a8d62f26c56f.tar.gz
go-cb5fad79d068420409686f435385a8d62f26c56f.zip
doc/go1.15: add release notes for strconv
Updates #37419 Change-Id: Ic72bf0da914fa8a56570750b8fd4b4d09d2ed075 Reviewed-on: https://go-review.googlesource.com/c/go/+/236157 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--doc/go1.15.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html
index ee00aa003c..fcdbf98c7c 100644
--- a/doc/go1.15.html
+++ b/doc/go1.15.html
@@ -574,7 +574,13 @@ TODO
<dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
<dd>
<p><!-- CL 216617 -->
- TODO: <a href="https://golang.org/cl/216617">https://golang.org/cl/216617</a>: add ParseComplex and FormatComplex
+ <a href="/pkg/strconv/#FormatComplex"><code>FormatComplex</code></a> and <a href="/pkg/strconv/#ParseComplex"><code>ParseComplex</code></a> are added for working with complex numbers.
+ </p>
+ <p>
+ <a href="/pkg/strconv/#FormatComplex"><code>FormatComplex</code></a> converts a complex number into a string of the form (a+bi), where a and b are the real and imaginary parts.
+ </p>
+ <p>
+ <a href="/pkg/strconv/#ParseComplex"><code>ParseComplex</code></a> converts a string into a complex number of a specificed precision. <code>ParseComplex</code> accepts complex numbers in the format <code>N+Ni</code>.
</p>
</dd>
</dl><!-- strconv -->