[issue23517] datetime.utcfromtimestamp rounds results incorrectly

Tim Peters report at bugs.python.org
Sat Sep 5 00:38:26 CEST 2015


Tim Peters added the comment:

Victor, there are good "theoretical" reasons for using half/even rounding in _general_ use.  But this bug report isn't the place to get into them.  Here it just should be enough to note that the IEEE 754 floating point standard _requires_ half/even to be the default rounding mode.  Slowly but surely, all the world's non-business computer applications are moving toward that.  Python is just one of 'em.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23517>
_______________________________________


More information about the Python-bugs-list mailing list