Commit ef4c2b85 authored by Robert Griesemer's avatar Robert Griesemer

go_spec.html: fix typo and link

R=r
CC=golang-dev
https://golang.org/cl/382045
parent 35aec6c7
......@@ -3383,13 +3383,13 @@ operations with untyped integer and floating-point constants; the
result is an untyped complex constant.
Complex constants are always constructed from
constant expressions involving imaginary
literals or constants derived from them, or calls of the
<a href="#Built-in_functions">built-in function</a> <code>cmplx</code>.
literals or constants derived from them, or calls of the built-in function
<a href="#Complex_numbers"><code>cmplx</code></a>.
</p>
<pre>
const Σ = 1 - 0.707i
const Δ = Σ + 2.0e-4 - 1/i
const Δ = Σ + 2.0e-4 - 1/1i
const Φ = iota * 1i
const iΓ = cmplx(0, Γ)
</pre>
......
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