From: Julie Qiu Date: Tue, 2 Jun 2020 17:46:34 +0000 (-0400) Subject: doc/go1.15: add release notes for strconv X-Git-Tag: go1.15beta1~48 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cb5fad79d068420409686f435385a8d62f26c56f;p=gostls13.git 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 --- 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
strconv

- TODO: https://golang.org/cl/216617: add ParseComplex and FormatComplex + FormatComplex and ParseComplex are added for working with complex numbers. +

+

+ FormatComplex converts a complex number into a string of the form (a+bi), where a and b are the real and imaginary parts. +

+

+ ParseComplex converts a string into a complex number of a specificed precision. ParseComplex accepts complex numbers in the format N+Ni.