[issue3166] Make conversions from long to float correctly rounded.

Mark Dickinson report at bugs.python.org
Wed Dec 10 00:48:30 CET 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thanks for your comments, Alexander.

Here's a rewritten version of the patch that's better commented and 
somewhat less convoluted;  I think it should be easier to verify the 
correctness of this one.

Added file: http://bugs.python.org/file12312/long_as_double2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3166>
_______________________________________


More information about the Python-bugs-list mailing list