Jeffrey Yasskin added the comment:

Here's a version of the patch that uses _rescale instead of quantize. I
don't know enough about how contexts are used to know whether someone
might want to know that ceil(Decimal("1e30")) gave a result with more
precision than the input. On the other hand, the error .quantize()
throws is clearly the wrong one, so this is at least an improvement.

Added file: http://bugs.python.org/file8963/decimal_3141.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1623>
__________________________________

Attachment: decimal_3141.patch
Description: Binary data

_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to