Lines Matching refs:divmod
1376 coeff, remainder = divmod(op1.int * 10**shift, op2.int)
1378 coeff, remainder = divmod(op1.int, op2.int * 10**-shift)
1416 q, r = divmod(op1.int, op2.int)
1423 'quotient too large in //, % or divmod')
1451 ans = context._raise_error(InvalidOperation, 'divmod(INF, INF)')
1459 ans = context._raise_error(DivisionUndefined, 'divmod(0, 0)')
1565 q, r = divmod(op1.int, op2.int)
2206 xc, remainder = divmod(5**e, xc)
2259 xe, rem = divmod(xe, n)
2266 q, r = divmod(xc, a**(n-1))
2789 c, remainder = divmod(c, 100**-shift)
4432 def divmod(self, a, b):
4435 >>> ExtendedContext.divmod(Decimal(8), Decimal(3))
4437 >>> ExtendedContext.divmod(Decimal(8), Decimal(4))
4439 >>> ExtendedContext.divmod(8, 4)
4441 >>> ExtendedContext.divmod(Decimal(8), 4)
4443 >>> ExtendedContext.divmod(8, Decimal(4))
5735 q, r = divmod(a, b)
5966 quot, rem = divmod(cshift, _log10_digits(q))