dlr bug
[mcs.git] / docs / ecma334 / 14.10.1.xml
blobf39d5eca7c60d3646719d6cb43149950180a2e3e
1 <?xml version="1.0"?>
2 <clause number="14.10.1" title="Integer logical operators">
3   <paragraph>The predefined integer logical operators are: <code_example><![CDATA[
4 int operator &(int x, int y);  
5 uint operator &(uint x, uint y);  
6 long operator &(long x, long y);  
7 ulong operator &(ulong x, ulong y);  
8 int operator |(int x, int y);  
9 uint operator |(uint x, uint y);  
10 long operator |(long x, long y);  
11 ulong operator |(ulong x, ulong y);  
12 int operator ^(int x, int y);  
13 uint operator ^(uint x, uint y);  
14 long operator ^(long x, long y);  
15 ulong operator ^(ulong x, ulong y);  
16 ]]></code_example></paragraph>
17   <paragraph>The &amp; operator computes the bitwise logical AND of the two operands, the | operator computes the bitwise logical OR of the two operands, and the ^ operator computes the bitwise logical exclusive OR of the two operands. No overflows are possible from these operations. </paragraph>
18 </clause>