From 307ec219322668cf93b4bc2085bea5f201147572 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 12 Mar 2009 15:53:56 -0700 Subject: [PATCH] what is the name for "&^". let's go with bit clear (and not) R=rsc DELTA=14 (0 added, 0 deleted, 14 changed) OCL=26159 CL=26206 --- doc/go_spec.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index afadef33118..0af8d6e230f 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2497,19 +2497,19 @@ to strings; all other arithmetic operators apply to integers only.

-+    sum             integers, floats, strings
--    difference      integers, floats
-*    product         integers, floats
-/    quotient        integers, floats
-%    remainder       integers
++    sum                    integers, floats, strings
+-    difference             integers, floats
+*    product                integers, floats
+/    quotient               integers, floats
+%    remainder              integers
 
-&    bitwise and     integers
-|    bitwise or      integers
-^    bitwise xor     integers
-&^   bitwise nand    integers
+&    bitwise and            integers
+|    bitwise or             integers
+^    bitwise xor            integers
+&^   bit clear (and not)    integers
 
-<<   left shift      integer << unsigned integer
->>   right shift     integer >> unsigned integer
+<<   left shift             integer << unsigned integer
+>>   right shift            integer >> unsigned integer
 

@@ -3023,7 +3023,7 @@ x = 1 *p = f() a[i] = 23 k = <-ch -i &^= (1<<n) +i &^= 1<<n