Lines Matching refs:logical_xor
3295 return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
3315 def logical_xor(self, other, context=None):
4635 def logical_xor(self, a, b):
4640 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('0'))
4642 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('1'))
4644 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('0'))
4646 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('1'))
4648 >>> ExtendedContext.logical_xor(Decimal('1100'), Decimal('1010'))
4650 >>> ExtendedContext.logical_xor(Decimal('1111'), Decimal('10'))
4652 >>> ExtendedContext.logical_xor(110, 1101)
4654 >>> ExtendedContext.logical_xor(Decimal(110), 1101)
4656 >>> ExtendedContext.logical_xor(110, Decimal(1101))
4660 return a.logical_xor(b, context=self)