Updates:
Status: Fixed
Comment #4 on issue 3046 by smi...@gmail.com: divmod method needed for
Rational
http://code.google.com/p/sympy/issues/detail?id=3046
Now,
divmod(Rational(1,2), 2)
(0, 1/2)
--
You received this message because you are subscribed to the Google Groups
Comment #1 on issue 3046 by smi...@gmail.com: divmod method needed for
Rational
http://code.google.com/p/sympy/issues/detail?id=3046
https://github.com/sympy/sympy/pull/1054
When divmod(2, S(3)) is called, Python passes the call off to
Integer.__rdivmod__ because S(3) is an Integer. The
Updates:
Labels: NeedsReview smichr
Comment #2 on issue 3046 by smi...@gmail.com: divmod method needed for
Rational
http://code.google.com/p/sympy/issues/detail?id=3046
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Google
Status: Accepted
Owner:
Labels: Type-Defect Priority-Medium
New issue 3046 by smi...@gmail.com: divmod method needed for Rational
http://code.google.com/p/sympy/issues/detail?id=3046
It appears we don't have divmod implemented for Rational
divmod(Rational(1,2), 2)
Traceback (most recent