diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-04-20 21:13:33 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-04-20 21:13:33 (GMT) |
commit | 6736cf8d20b67b74e8e959622132963285156242 (patch) | |
tree | 6527638e42304a987b3ebc1541e4b75a3a838500 /Modules/_bsddb.c | |
parent | cccfc825e49760d8e46db38df50fb992a184b3ee (diff) | |
download | cpython-6736cf8d20b67b74e8e959622132963285156242.zip cpython-6736cf8d20b67b74e8e959622132963285156242.tar.gz cpython-6736cf8d20b67b74e8e959622132963285156242.tar.bz2 |
Issue #3166: Make long -> float (and int -> float) conversions
correctly rounded, using round-half-to-even. This ensures that the
value of float(n) doesn't depend on whether we're using 15-bit digits
or 30-bit digits for Python longs.
Diffstat (limited to 'Modules/_bsddb.c')
0 files changed, 0 insertions, 0 deletions