[issue7048] decimal.py: logb: round the result if it is greater than prec
Mark Dickinson
report at bugs.python.org
Fri Dec 4 12:10:37 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
Mike Cowlishaw has confirmed that the tests scbx164, scbx165 (in version
2.59 of the tests) are implementation-specific, so test_decimal is doing
the right thing in skipping them. So I think this issue can be closed.
I don't think it's worth removing the restriction on the 2nd scaleb
argument: while I still think it's arbitrary and unnecessary, keeping it
allows us to say that we're in full compliance with the specification.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7048>
_______________________________________
More information about the Python-bugs-list
mailing list