From: Mihai Borobocea Date: Mon, 30 Dec 2013 21:29:56 +0000 (-0800) Subject: spec: example shows wrong value for complex constant X-Git-Tag: go1.3beta1~1087 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8183ed19b9de8dbc40e40041e530d796246f0514;p=gostls13.git spec: example shows wrong value for complex constant Looks like a typo. Fixes #7011. R=golang-codereviews, r, bradfitz CC=golang-codereviews https://golang.org/cl/45350043 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index bc9ec682a0..329e2adb18 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3929,7 +3929,7 @@ an untyped complex constant.
 const ic = complex(0, c)   // ic == 3.75i  (untyped complex constant)
-const iΘ = complex(0, Θ)   // iΘ == 1.5i   (type complex128)
+const iΘ = complex(0, Θ)   // iΘ == 1i     (type complex128)