Commit 8183ed19 authored by Mihai Borobocea's avatar Mihai Borobocea Committed by Brad Fitzpatrick

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
parent 206eff71
......@@ -3929,7 +3929,7 @@ an untyped complex constant.
<pre>
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)
</pre>
<p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment