Terry J. Reedy <[EMAIL PROTECTED]> added the comment: To my mind, the inaccurate result is a bug that should be fixed.
Note: (3.0a3) >>> 10e40/10e39 10.0 The rationale for the division change is that (as far as reasonably possible) arithmetic operations with same values should give same result regardless of types. I have not looked at either algorithm, but if long/long started by finding divmod(), but added fractional value when remainer is non-zero instead of tossing it, exact quotients would easily be exact (unless too large). ---------- nosy: +tjreedy __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1811> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com