Stefan Krah <ste...@bytereef.org> added the comment:

Is it a bug in float.__trunc__()? It seems to me that the detailed comment 
accounts for case of rounding up.

That's why < is used instead of <=.

----------
nosy: +skrah, tim.peters

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

Reply via email to