summaryrefslogtreecommitdiff
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-20 21:13:33 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-04-20 21:13:33 +0000
commit6736cf8d20b67b74e8e959622132963285156242 (patch)
tree6527638e42304a987b3ebc1541e4b75a3a838500 /Python/pystrtod.c
parentcccfc825e49760d8e46db38df50fb992a184b3ee (diff)
downloadcpython-git-6736cf8d20b67b74e8e959622132963285156242.tar.gz
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 'Python/pystrtod.c')
0 files changed, 0 insertions, 0 deletions