Home | History | Annotate | Download | only in python2.7

Lines Matching defs:compare_total

2744             # the result.  This is exactly the ordering used in compare_total.
2745 c = self.compare_total(other)
2779 c = self.compare_total(other)
2831 def compare_total(self, other):
2907 Like compare_total, but with operand's sign ignored and assumed to be 0.
2913 return s.compare_total(o)
3355 c = self.compare_total(other)
3385 c = self.compare_total(other)
4084 def compare_total(self, a, b):
4091 >>> ExtendedContext.compare_total(Decimal('12.73'), Decimal('127.9'))
4093 >>> ExtendedContext.compare_total(Decimal('-127'), Decimal('12'))
4095 >>> ExtendedContext.compare_total(Decimal('12.30'), Decimal('12.3'))
4097 >>> ExtendedContext.compare_total(Decimal('12.30'), Decimal('12.30'))
4099 >>> ExtendedContext.compare_total(Decimal('12.3'), Decimal('12.300'))
4101 >>> ExtendedContext.compare_total(Decimal('12.3'), Decimal('NaN'))
4103 >>> ExtendedContext.compare_total(1, 2)
4105 >>> ExtendedContext.compare_total(Decimal(1), 2)
4107 >>> ExtendedContext.compare_total(1, Decimal(2))
4111 return a.compare_total(b)
4116 Like compare_total, but with operand's sign ignored and assumed to be 0.