summaryrefslogtreecommitdiffstats
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-06 14:26:34 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-06 14:26:34 (GMT)
commit9263e78ff22a5aaa0c2b460df966e048dd28f90d (patch)
treedcac24796e593296ccf22f02e26ef81fc70b1707 /Python/strdup.c
parent8e40759d5ae2c879759fe7c3e35aa107f967824b (diff)
downloadcpython-9263e78ff22a5aaa0c2b460df966e048dd28f90d.zip
cpython-9263e78ff22a5aaa0c2b460df966e048dd28f90d.tar.gz
cpython-9263e78ff22a5aaa0c2b460df966e048dd28f90d.tar.bz2
Tim Peters writes:
1. Fixes float divmod so that the quotient it returns is always an integral value. 2. Fixes float % and float divmod so that the remainder always gets the right sign (the current code uses a "are the signs different?" test that doesn't work half the time <wink> when the product of the divisor and the remainder underflows to 0).
Diffstat (limited to 'Python/strdup.c')
0 files changed, 0 insertions, 0 deletions