Commit 307ec219 authored by Rob Pike's avatar Rob Pike

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
parent 6f321e28
......@@ -2506,7 +2506,7 @@ to strings; all other arithmetic operators apply to integers only.
& bitwise and integers
| bitwise or integers
^ bitwise xor integers
&^ bitwise nand integers
&^ bit clear (and not) integers
<< 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&lt;&lt;n)
i &amp;^= 1&lt;&lt;n
</pre>
<p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment