2 <clause number="14.9.1" title="Integer comparison operators">
3 <paragraph>The predefined integer comparison operators are: <code_example><![CDATA[
4 bool operator ==(int x, int y);
5 bool operator ==(uint x, uint y);
6 bool operator ==(long x, long y);
7 bool operator ==(ulong x, ulong y);
8 bool operator !=(int x, int y);
9 bool operator !=(uint x, uint y);
10 bool operator !=(long x, long y);
11 bool operator !=(ulong x, ulong y);
12 bool operator <(int x, int y);
13 bool operator <(uint x, uint y);
14 bool operator <(long x, long y);
15 bool operator <(ulong x, ulong y);
16 bool operator >(int x, int y);
17 bool operator >(uint x, uint y);
18 bool operator >(long x, long y);
19 bool operator >(ulong x, ulong y);
20 bool operator <=(int x, int y);
21 bool operator <=(uint x, uint y);
22 bool operator <=(long x, long y);
23 bool operator <=(ulong x, ulong y);
24 bool operator >=(int x, int y);
25 bool operator >=(uint x, uint y);
26 bool operator >=(long x, long y);
27 bool operator >=(ulong x, ulong y);
28 ]]></code_example></paragraph>
29 <paragraph>Each of these operators compares the numeric values of the two integer operands and returns a <keyword>bool</keyword> value that indicates whether the particular relation is true or false. </paragraph>