From 840333009c7a1ac5ad43b6889a2993f9c3fe521c Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 1 Oct 2009 16:58:17 -0700 Subject: [PATCH] replace "ideal" with "untyped" R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35242 CL=35258 --- doc/go_tutorial.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/go_tutorial.txt b/doc/go_tutorial.txt index 201e945c485..e14736079fc 100644 --- a/doc/go_tutorial.txt +++ b/doc/go_tutorial.txt @@ -281,7 +281,7 @@ An Interlude about Constants Although integers come in lots of sizes in Go, integer constants do not. 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 too little precision to represent the value. @@ -416,7 +416,7 @@ Finally we can run the program: % helloworld3 hello, world can't open file; err=No such file or directory - % + % Rotting cats ---- @@ -490,7 +490,7 @@ Here it is in action: abcdefghijklmnopqrstuvwxyz % echo abcdefghijklmnopqrstuvwxyz | ./cat --rot13 nopqrstuvwxyzabcdefghijklm - % + % Fans of dependency injection may take cheer from how easily interfaces