summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-03-10 15:29:36 -0800
committerRobert Griesemer <gri@golang.org>2010-03-10 15:29:36 -0800
commit089d2f886b6a36429d36906760fcf5c01991beb3 (patch)
tree247b55a85d085ce2d0255bf31d99b94580777dc1
parent8302a8288535788507436b66dd98db977440fa27 (diff)
downloadgolang-089d2f886b6a36429d36906760fcf5c01991beb3.tar.gz
go_spec.html: fix typo and link
R=r CC=golang-dev http://codereview.appspot.com/382045
-rw-r--r--doc/go_spec.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index d0b9e2fad..0778d73fc 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -646,7 +646,7 @@ float64 the set of all IEEE-754 64-bit floating-point numbers
complex64 the set of all complex numbers with float32 real and imaginary parts
complex128 the set of all complex numbers with float64 real and imaginary parts
-byte familiar alias for uint8
+byte familiar alias for uint8
</pre>
<p>
@@ -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>