Mark Dickinson added the comment: > but 0*inf and inf-inf return values with the same representation as > float('-nan'), not float('nan')
Right: that's because Intel's "default" NaN (i.e., the float it produces as a result of any invalid operation) has its sign bit set. ---------- _______________________________________ 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