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

Lines Matching full:divmod

1335                 coeff, remainder = divmod(op1.int * 10**shift, op2.int)
1337 coeff, remainder = divmod(op1.int, op2.int * 10**-shift)
1375 q, r = divmod(op1.int, op2.int)
1382 'quotient too large in //, % or divmod')
1413 ans = context._raise_error(InvalidOperation, 'divmod(INF, INF)')
1421 ans = context._raise_error(DivisionUndefined, 'divmod(0, 0)')
1527 q, r = divmod(op1.int, op2.int)
2082 xc, remainder = divmod(5**e, xc)
2135 xe, rem = divmod(xe, n)
2142 q, r = divmod(xc, a**(n-1))
2675 c, remainder = divmod(c, 100**-shift)
4244 def divmod(self, a, b):
4247 >>> ExtendedContext.divmod(Decimal(8), Decimal(3))
4249 >>> ExtendedContext.divmod(Decimal(8), Decimal(4))
4251 >>> ExtendedContext.divmod(8, 4)
4253 >>> ExtendedContext.divmod(Decimal(8), 4)
4255 >>> ExtendedContext.divmod(8, Decimal(4))
5543 q, r = divmod(a, b)
5774 quot, rem = divmod(cshift, _log10_digits(q))