Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 36600
Status: resolved
Priority: 0/
Queue: Time-HiRes

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.9715
Fixed in: (no value)



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.
Please try 1.9716 or later.