Subject: | Fails on perls with nvsize != 8 (as with 64bit perls compiled with -Duselongdouble) |
As per subject. Insufficient rounding in one of the tests seems to be
the key to understand the issue. Floating point numbers should never be
compared on string equality. Sample fail report:
http://www.cpantesters.org/cpan/report/23025544
From there:
t/AI-Calibrate-1.t ............ ok
# Failed test 'calibration'
# at t/AI-Calibrate-KL.t line 68.
# Structures begin differing at:
# $got->[2][1] = '0.666666666666666667'
# $expected->[2][1] = '0.666666666666667'
# Looks like you failed 1 test of 4.
t/AI-Calibrate-KL.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
HTH&&Regards,