Message408082
It's a bit cheap and nasty, but I think we could simply replace the line:
if (fabs(x) < 1.0)
in is_error with
if (fabs(x) < 2.0)
perhaps with an explanatory comment. All we need to do is distinguish underflow from overflow, and 2.0 is still clearly a _long_ way away from any overflow boundary.
It would be good to have a test that would trigger the behaviour, too. |
|
Date |
User |
Action |
Args |
2021-12-09 08:12:33 | mark.dickinson | set | recipients:
+ mark.dickinson, steve.dower |
2021-12-09 08:12:33 | mark.dickinson | set | messageid: <1639037553.87.0.862378591675.issue46018@roundup.psfhosted.org> |
2021-12-09 08:12:33 | mark.dickinson | link | issue46018 messages |
2021-12-09 08:12:33 | mark.dickinson | create | |
|