Lines Matching refs:logical_xor
3397 return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
3417 def logical_xor(self, other, context=None):
4807 def logical_xor(self, a, b):
4812 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('0'))
4814 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('1'))
4816 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('0'))
4818 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('1'))
4820 >>> ExtendedContext.logical_xor(Decimal('1100'), Decimal('1010'))
4822 >>> ExtendedContext.logical_xor(Decimal('1111'), Decimal('10'))
4824 >>> ExtendedContext.logical_xor(110, 1101)
4826 >>> ExtendedContext.logical_xor(Decimal(110), 1101)
4828 >>> ExtendedContext.logical_xor(110, Decimal(1101))
4832 return a.logical_xor(b, context=self)