Stefan Krah <stefan-use...@bytereef.org> added the comment: NaNs, however, are decapitated:
>>> x = Decimal("NaN5357671565858315212612021522416387828577") >>> y = 0 >>> x.quantize(y, watchexp=0) Decimal('NaN8315212612021522416387828577') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10650> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com