AND for sbitfixvec.

This commit is contained in:
Marcel Keller
2021-08-03 20:12:45 +10:00
parent 6730094917
commit e6dbb4cb81

View File

@@ -1246,6 +1246,8 @@ class sbitfixvec(_fix):
return super(sbitfixvec, self).mul(other)
def __xor__(self, other):
return self._new(self.v ^ other.v)
def __and__(self, other):
return self._new(self.v & other.v)
@staticmethod
def multipliable(other, k, f, size):
class cls(_fix):