<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of September 7, 2012",
+ "Subtitle": "Version of September 12, 2012",
"Path": "/ref/spec"
}-->
<p>
There are five precedence levels for binary operators.
Multiplication operators bind strongest, followed by addition
-operators, comparison operators, <code>&&</code> (logical and),
-and finally <code>||</code> (logical or):
+operators, comparison operators, <code>&&</code> (logical AND),
+and finally <code>||</code> (logical OR):
</p>
<pre class="grammar">
/ quotient integers, floats, complex values
% remainder integers
-& bitwise and integers
-| bitwise or integers
-^ bitwise xor integers
-&^ bit clear (and not) 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
If the divisor is zero, a <a href="#Run_time_panics">run-time panic</a> occurs.
If the dividend is positive and the divisor is a constant power of 2,
the division may be replaced by a right shift, and computing the remainder may
-be replaced by a bitwise "and" operation:
+be replaced by a bitwise AND operation:
</p>
<pre>
</p>
<pre class="grammar">
-&& conditional and p && q is "if p then q else false"
-|| conditional or p || q is "if p then true else q"
-! not !p is "not p"
+&& conditional AND p && q is "if p then q else false"
+|| conditional OR p || q is "if p then true else q"
+! NOT !p is "not p"
</pre>