Subject: | t/bigintpm.t fails (with older Math::BigInt?) |
On some of my smokers the test suite is failing:
...
# Failed test '$x = Math::BigInt::Lite->new("-3"); $y = Math::BigInt::Lite->new("-3"); $x ** $y;'
# at ./t/bigintpm.inc line 207.
# got: 'NaN'
# expected: '0'
# Failed test '$x = Math::BigInt::Lite->new("-3"); $y = Math::BigInt::Lite->new("-2"); $x ** $y;'
# at ./t/bigintpm.inc line 207.
# got: 'NaN'
# expected: '0'
... (more of these) ...
# Failed test '$x = Math::BigInt::Lite->new("3"); $y = Math::BigInt::Lite->new("-1"); $x ** $y;'
# at ./t/bigintpm.inc line 207.
# got: 'NaN'
# expected: '0'
# Looks like you failed 12 tests of 4026.
t/bigintpm.t ..............
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 12/4026 subtests
This seems to happen if Math::BigInt < 1.999817 is installed. Statistical analysis:
****************************************************************
Regression 'mod:Math::BigInt'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 0.0000 0.0000 0.00
[1='eq_1.999816'] -0.0000 0.0000 -17.78
[2='eq_1.999817'] 1.0000 0.0000 13258653448095450.00
[3='eq_1.999817_01'] 1.0000 0.0000 11048877873412880.00
[4='eq_1.999818'] 1.0000 0.0000 17116847999203078.00
R^2= 1.000, N= 79, K= 5
****************************************************************