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

Lines Matching refs:same_quantum

2493     def same_quantum(self, other):
5212 def same_quantum(self, a, b):
5218 >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.001'))
5220 >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.01'))
5222 >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('1'))
5224 >>> ExtendedContext.same_quantum(Decimal('Inf'), Decimal('-Inf'))
5226 >>> ExtendedContext.same_quantum(10000, -1)
5228 >>> ExtendedContext.same_quantum(Decimal(10000), -1)
5230 >>> ExtendedContext.same_quantum(10000, Decimal(-1))
5234 return a.same_quantum(b)