Tal Einat added the comment:
@Stefan: Well, this seems to already be the situation with the rest of the math
module:
>>> math.isinf(Decimal("1e999"))
True
>>> math.sqrt(Decimal("1e999"))
inf
Properly handling other types which are convertible to floats, such as Decimal
and Fraction, is outside the scope of this issue.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com