Subject: | 'Division by zero' failure in test suite |
I recently obtained the following failure while testing 5.8.x @ 34037:
ext/Time/HiRes/t/HiRes......................Illegal division by zero
at ../ext/Time/HiRes/t/HiRes.t line 305.
FAILED--expected 38 tests, saw 16
This is caused by the following:
1. $i is initially set to 5 on line 265.
2. This can cause $exp on line 303 to be set to 0.
3. The above can then result in division by zero on line 305.