Message244293
@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. |
|
Date |
User |
Action |
Args |
2015-05-28 12:05:21 | taleinat | set | recipients:
+ taleinat, rhettinger, mark.dickinson, ncoghlan, scoder, stutzbach, skrah |
2015-05-28 12:05:21 | taleinat | set | messageid: <1432814721.42.0.430204778772.issue24270@psf.upfronthosting.co.za> |
2015-05-28 12:05:21 | taleinat | link | issue24270 messages |
2015-05-28 12:05:21 | taleinat | create | |
|