Skip Menu |

This queue is for tickets about the Timer-Milestones CPAN distribution.

Report information
The Basics
Id: 131675
Status: resolved
Priority: 0/
Queue: Timer-Milestones

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

Bug Information
Severity: (no value)
Broken in: 0.001
Fixed in: 0.003



Subject: t/reports.t fails (with -Duselongdouble?)
On some of my smokers the test suite consistently fails: ... # Failed test 'Correct value for 0.001' # at t/reports.t line 430. # +--------+----+--------+ # | GOT | OP | CHECK | # +--------+----+--------+ # | 0 ms | eq | 1 ms | # +--------+----+--------+ # Looks like you failed 1 test of 32. t/reports.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/32 subtests ... Statistical analysis suggests that this happens if perl was compiled with increased floating point accuracy (-Duselongdouble): **************************************************************** Regression 'conf:uselongdouble' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 0.00 [1='eq_undef'] 1.0000 0.0000 60645502236045240.00 R^2= 1.000, N= 36, K= 2 ****************************************************************
On Tue Feb 04 15:26:22 2020, SREZIC wrote: Show quoted text
> On some of my smokers the test suite consistently fails:
[...] Show quoted text
> Statistical analysis suggests that this happens if perl was compiled > with increased floating point accuracy (-Duselongdouble):
Thanks for spotting that; after some discussion with p5p I've updated the code to use floating point rather than integer rounding, and the tests should now pass everywhere.