Mark Dickinson added the comment: > float("-inf") and -float("inf") have exactly the same IEEE 754 representation
Indeed: there's only one negative infinity (and only one positive infinity) in IEEE 754 binary64 format. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23185> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com