Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-IEEE754-Tools CPAN distribution.

Report information
The Basics
Id: 116004
Status: resolved
Priority: 0/
Queue: Data-IEEE754-Tools

People
Owner: petercj [...] cpan.org
Requestors: petercj [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: v0.010
Fixed in: v0.011_002



Subject: Install Failure: -0.16 vs -0.160000000000000003
# Failed test 'hexstr754_to_double(BFC47AE147AE147B)' # at t/01-raw754.t line 27. # got: '-0.160000000000000003' # expected: '-0.16'
http://matrix.cpantesters.org/?dist=Data-IEEE754-Tools%20v0.011_001 v0.011_001: every machine that fails the new 64-bit test also fails this test... thus, the -0.160000000000000003 is a result, as I guessed, of the 128bit (16byte) NV used on those machines.
v0.011_001: change test suite to use got == expect; issue still appeared during CPAN Testers, so not fixed v0.011_002: change test suite to use a '%+24.16e' got eq expect, rather than raw got == expect; issue did not appear during CPAN Testers, so believed fixed v0.011_003: issue did not appear during CPAN Testers, so believed fixed