Skip Menu |

This queue is for tickets about the Math-Clipper CPAN distribution.

Report information
The Basics
Id: 125139
Status: resolved
Priority: 0/
Queue: Math-Clipper

People
Owner: SHELDRAKE [...] cpan.org
Requestors: davem [...] iabyn.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.24



Subject: Math-Clipper test fails on blead due to %.0f fix
Date: Fri, 20 Apr 2018 09:04:32 +0100
To: bug-Math-Clipper [...] rt.cpan.org
From: Dave Mitchell <davem [...] iabyn.com>
On blead: t/008integerize.t ........ 1/15 # Failed test 'rounding' # at t/008integerize.t line 208. # Comparing $data as a Bag # Missing: 1 reference # Extra: 1 reference # Looks like you failed 1 test of 15. See https://rt.perl.org/Ticket/Display.html?id=132775 for suggested fixes. -- A walk of a thousand miles begins with a single step... then continues for another 1,999,999 or so.
So far, pushed a fix to github.com/tsee/Math-Clipper. There are inconsistencies in how -0 and -0.0 are treated in the various string, sprintf(), integer and float conversions involved, so I opted for a specific fix that should just convert '-0' to '0' coming out of sprintf("%.0f") for just this test script.