Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
ef4c2b85
Commit
ef4c2b85
authored
Mar 10, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go_spec.html: fix typo and link
R=r CC=golang-dev
https://golang.org/cl/382045
parent
35aec6c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
go_spec.html
doc/go_spec.html
+4
-4
No files found.
doc/go_spec.html
View file @
ef4c2b85
...
...
@@ -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/
1
i
const Φ = iota * 1i
const iΓ = cmplx(0, Γ)
</pre>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment