コード例 #1
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def __le__(self, other):
     return bitsCmp(self, other, AllOps.LE)
コード例 #2
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def __ne__(self, other):
     return bitsCmp(self, other, AllOps.NE)
コード例 #3
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def __ge__(self, other):
     return bitsCmp(self, other, AllOps.GE)
コード例 #4
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def _eq(self, other):
     return bitsCmp(self, other, AllOps.EQ, eq)
コード例 #5
0
ファイル: bitsVal.py プロジェクト: nilintxc/hwt
 def __le__(self, other):
     return bitsCmp(self, other, AllOps.LE, BIT.from_py(1))
コード例 #6
0
ファイル: bitsVal.py プロジェクト: nilintxc/hwt
 def __gt__(self, other):
     return bitsCmp(self, other, AllOps.GT, BIT.from_py(0))
コード例 #7
0
ファイル: bitsVal.py プロジェクト: nilintxc/hwt
 def __ne__(self, other):
     return bitsCmp(self, other, AllOps.NE, BIT.from_py(0))
コード例 #8
0
ファイル: bitsVal.py プロジェクト: nilintxc/hwt
 def _eq(self, other):
     return bitsCmp(self, other, AllOps.EQ, BIT.from_py(1), eq)