Skip to content

Commit cb5fad7

Browse files
committed
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 <[email protected]>
1 parent 429d2c5 commit cb5fad7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/go1.15.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
574574
<dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
575575
<dd>
576576
<p><!-- CL 216617 -->
577-
TODO: <a href="https://golang.org/cl/216617">https://golang.org/cl/216617</a>: add ParseComplex and FormatComplex
577+
<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.
578+
</p>
579+
<p>
580+
<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.
581+
</p>
582+
<p>
583+
<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>.
578584
</p>
579585
</dd>
580586
</dl><!-- strconv -->

0 commit comments

Comments
 (0)