Lines Matching refs:same_quantum
2593 def same_quantum(self, other, context=None):
5384 def same_quantum(self, a, b):
5390 >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.001'))
5392 >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.01'))
5394 >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('1'))
5396 >>> ExtendedContext.same_quantum(Decimal('Inf'), Decimal('-Inf'))
5398 >>> ExtendedContext.same_quantum(10000, -1)
5400 >>> ExtendedContext.same_quantum(Decimal(10000), -1)
5402 >>> ExtendedContext.same_quantum(10000, Decimal(-1))
5406 return a.same_quantum(b)