Mark Dickinson <dicki...@gmail.com> added the comment:

> int/int is less accurate than float/float for t=1580301619906185300

No, int/int is more accurate here. If a and b are ints, a / b is always 
correctly rounded on an IEEE 754 system, while float(a) / float(b) will not 
necessarily give a correctly rounded result. So for an integer a, `a / 10**9` 
will _always_ be at least as accurate as `a / 1e9`.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39484>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to