SF bug #477221: abs and divmod act oddly with -0.0
Try to ensure that divmod(-0.0, 1.0) -> (-0.0, +0.0) across platforms. It always did on Windows, and still does. It didn't on Linux. Alas, there's no platform-independent way to write a test case for this. Bugfix candidate.
T
Tim Peters committed
d2e40d6691899d5969b68cdf967d7b392b4e6e6b
Parent: faf0cd2