From 8183ed19b9de8dbc40e40041e530d796246f0514 Mon Sep 17 00:00:00 2001 From: Mihai Borobocea Date: Mon, 30 Dec 2013 13:29:56 -0800 Subject: [PATCH] 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 --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)
 

-- 2.48.1