New submission from Stefan Krah <stefan-use...@bytereef.org>: Hi,
I believe the following comparisons aren't correct: 1: Decimal("-sNaN63450748854172416").compare_total(Decimal("-sNaN911993")) ==> Decimal('1') Should be: Decimal('-1') (checked against decNumber) 2: Decimal("NaN1222222222222").compare_total_mag(Decimal("-NaN999999")) ==> Decimal('-1') Should be: Decimal('1') (checked against decNumber) ---------- components: Library (Lib) messages: 92032 nosy: skrah severity: normal status: open title: decimal.py: incorrect results in NaN comparisons _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6794> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com