Mark Dickinson added the comment:

[Tim]
>>> -0.5 // float('inf')
nan

Urk!  I wonder what's going on there.  I think I like that answer even less 
than -1.0.

IEEE 754's floor does indeed take -0.0 to -0.0.

----------

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

Reply via email to