summaryrefslogtreecommitdiffstats
path: root/Modules/fmmodule.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-20 21:13:33 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-20 21:13:33 (GMT)
commit6736cf8d20b67b74e8e959622132963285156242 (patch)
tree6527638e42304a987b3ebc1541e4b75a3a838500 /Modules/fmmodule.c
parentcccfc825e49760d8e46db38df50fb992a184b3ee (diff)
downloadcpython-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/fmmodule.c')
0 files changed, 0 insertions, 0 deletions