Subject: | t/40profile.t fails with possible FP rounding error, DBI 1.50 on perl 5.8.6 on linux-x86 |
make test throws:
t/40profile..............ok 51/64# Test 60 got: "25 0.93
0.110000000000000001 0.0100000000000000002 0.23000000000000001
1023110000 1023110010" (t/40profile.t at line 202)
# Expected: "25 0.93 0.11 0.01 0.23 1023110000 1023110010"
# t/40profile.t line 202 is: ok("@$totals", "25 0.93 0.11 0.01 0.23
1023110000 1023110010");
t/40profile..............ok 52/64# Test 62 got: "27 2.93
0.110000000000000001 0.0100000000000000002 0.23000000000000001
1023110000 1023110010" (t/40profile.t at line 211)
# Expected: "27 2.93 0.11 0.01 0.23 1023110000 1023110010"
# t/40profile.t line 211 is: ok("@$totals", "27 2.93 0.11 0.01 0.23
1023110000 1023110010");
t/40profile..............FAILED tests 60, 62
Failed 2/64 tests, 96.88% okay
which looks to me like a floating point rounding error, perhaps...
Linux colo16.servercity.co.uk 2.4.21-32.ELsmp #1 SMP Wed May 18 17:49:28
EDT 2005 i686 i686 i386 GNU/Linux
This is perl, v5.8.6 built for i686-linux-ld