Beispiel #1
0
 def __le__(self, other):
     return bitsCmp(self, other, AllOps.LE)
Beispiel #2
0
 def __ne__(self, other):
     return bitsCmp(self, other, AllOps.NE)
Beispiel #3
0
 def __ge__(self, other):
     return bitsCmp(self, other, AllOps.GE)
Beispiel #4
0
 def _eq(self, other):
     return bitsCmp(self, other, AllOps.EQ, eq)
Beispiel #5
0
 def __le__(self, other):
     return bitsCmp(self, other, AllOps.LE, BIT.from_py(1))
Beispiel #6
0
 def __gt__(self, other):
     return bitsCmp(self, other, AllOps.GT, BIT.from_py(0))
Beispiel #7
0
 def __ne__(self, other):
     return bitsCmp(self, other, AllOps.NE, BIT.from_py(0))
Beispiel #8
0
 def _eq(self, other):
     return bitsCmp(self, other, AllOps.EQ, BIT.from_py(1), eq)