Home | History | Annotate | Download | only in Lib

Lines Matching defs:logical_xor

3269         return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),

3289 def logical_xor(self, other, context=None):
4607 def logical_xor(self, a, b):
4612 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('0'))
4614 >>> ExtendedContext.logical_xor(Decimal('0'), Decimal('1'))
4616 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('0'))
4618 >>> ExtendedContext.logical_xor(Decimal('1'), Decimal('1'))
4620 >>> ExtendedContext.logical_xor(Decimal('1100'), Decimal('1010'))
4622 >>> ExtendedContext.logical_xor(Decimal('1111'), Decimal('10'))
4624 >>> ExtendedContext.logical_xor(110, 1101)
4626 >>> ExtendedContext.logical_xor(Decimal(110), 1101)
4628 >>> ExtendedContext.logical_xor(110, Decimal(1101))
4632 return a.logical_xor(b, context=self)