Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
See the discussion on the Python-Dev mailing list: https://mail.python.org/pipermail/python-dev/2008-January/075863.html. For C look at the rint() function. It is a common knowledge that rounding half-to-even is what users want in most cases, but it is a tiny bit more expensive in C. In Python the additional cost of such rounding is insignificant. ---------- nosy: +jyasskin _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32956> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com