Stefan Behnel <[email protected]> added the comment:

Similarly, I think "//" (__floordiv__) should be implemented using integer 
operations rather than math.floor():

    (a.numerator * b.denominator) // (b.numerator * a.denominator)

Thoughts?

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35588>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to