]> granicus.if.org Git - python/commit
SF bug #477221: abs and divmod act oddly with -0.0.
authorTim Peters <tim.peters@gmail.com>
Thu, 1 Nov 2001 20:09:42 +0000 (20:09 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 1 Nov 2001 20:09:42 +0000 (20:09 +0000)
commitd2364e8e2dee675526fb35b07dab0e8f84268ec3
tree523ad16394ad3f130d776e44bf2ac0114e0147aa
parent3808045d00f7296b71ca598f9f4156406bc365eb
SF bug #477221: abs and divmod act oddly with -0.0.
Partial fix.
float_abs():  ensure abs(-0.0) returns +0.0.
Bugfix candidate.
Objects/floatobject.c