Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 52162
Status: resolved
Priority: 0/
Queue: Date-Manip

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

Bug Information
Severity: Normal
Broken in: 6.04
Fixed in: (no value)



Subject: test breaks on perls with -Duselongdouble
######################## Args = 1:2:3:4:5:6:7 approx 4 %yh %Mh %wh %dh %hh %mh %sh Expected = 1.0000 14.0000 63.8738 451.1163 10831.7900 649913.4000 38994811.0000 Got = 1.0000 14.0000 63.8738 451.1162 10831.7900 649913.4000 38994811.0000 ######################## t/orig.delta_format.t ..................... Failed 1/8 subtests A small difference in rounding of the fourth number 451.1163 vs 451.1162 happens if perl was compiled with -Duselongdouble. See for an example http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6186825.html HTH && Regards,
Thanks for tracking this down. I'd seen the couple of failures in CPAN testers, but wasn't sure of the cause. I'll decrease the precision of the test to 3 decimal places and this will get around the problem.