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