Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
84033300
Commit
84033300
authored
Oct 01, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace "ideal" with "untyped"
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35242 CL=35258
parent
a27f1f74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/go_tutorial.txt
doc/go_tutorial.txt
+3
-3
No files found.
doc/go_tutorial.txt
View file @
84033300
...
@@ -281,7 +281,7 @@ An Interlude about Constants
...
@@ -281,7 +281,7 @@ An Interlude about Constants
Although integers come in lots of sizes in Go, integer constants do not.
Although integers come in lots of sizes in Go, integer constants do not.
There are no constants like "0ll" or "0x0UL". Instead, integer
There are no constants like "0ll" or "0x0UL". Instead, integer
constants are evaluated as
ideal,
large-precision values that
constants are evaluated as large-precision values that
can overflow only when they are assigned to an integer variable with
can overflow only when they are assigned to an integer variable with
too little precision to represent the value.
too little precision to represent the value.
...
@@ -416,7 +416,7 @@ Finally we can run the program:
...
@@ -416,7 +416,7 @@ Finally we can run the program:
% helloworld3
% helloworld3
hello, world
hello, world
can't open file; err=No such file or directory
can't open file; err=No such file or directory
%
%
Rotting cats
Rotting cats
----
----
...
@@ -490,7 +490,7 @@ Here it is in action:
...
@@ -490,7 +490,7 @@ Here it is in action:
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
% echo abcdefghijklmnopqrstuvwxyz | ./cat --rot13
% echo abcdefghijklmnopqrstuvwxyz | ./cat --rot13
nopqrstuvwxyzabcdefghijklm
nopqrstuvwxyzabcdefghijklm
%
%
</pre>
</pre>
Fans of dependency injection may take cheer from how easily interfaces
Fans of dependency injection may take cheer from how easily interfaces
...
...
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