SIGN IN SIGN UP

Issue #8644: Improve accuracy of timedelta.total_seconds, by doing intermediate

computations with integer arithmetic instead of floating point.
td.total_seconds() now agrees with td / timedelta(seconds = 1).

Thanks Alexander Belopolsky for the patch.
M
Mark Dickinson committed
0381e3f16a0d390e956c8adbe905d48e92de9cc6
Parent: 161b024