Lines Matching defs:logical_xor
3411 return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
3431 def logical_xor(self, other, context=None):
4825 def logical_xor(self, a, b):
4830 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('0'))
4832 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('1'))
4834 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('0'))
4836 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('1'))
4838 >>> ExtendedContext.logical_xor(Decimal('1100'), Decimal('1010'))
4840 >>> ExtendedContext.logical_xor(Decimal('1111'), Decimal('10'))
4842 >>> ExtendedContext.logical_xor(110, 1101)
4844 >>> ExtendedContext.logical_xor(Decimal(110), 1101)
4846 >>> ExtendedContext.logical_xor(110, Decimal(1101))
4850 return a.logical_xor(b, context=self)