Skip Menu |

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

Report information
The Basics
Id: 63215
Status: resolved
Priority: 0/
Queue: Math-ModInt

People
Owner: hasch-cpan [...] cozap.com
Requestors: ANDK [...] cpan.org
Cc: FLORA [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.004
Fixed in: 0.007



CC: FLORA [...] cpan.org
Subject: Fails with Math::BigInt >= 1.99
analysis.cpantesters.org alerted me about the correlation described in the subject line. I just verified that on one of my smokers. Downgrading to FLORA/Math-BigInt-1.98.tar.gz makes the tests pass, Upgrading to 1.99 makes them fail. HTH, Regards,
On Sun Nov 21 16:54:12 2010, ANDK wrote: Show quoted text
> analysis.cpantesters.org alerted me about the correlation described in > the subject line. > > I just verified that on one of my smokers. Downgrading to > FLORA/Math-BigInt-1.98.tar.gz makes the tests pass, Upgrading to 1.99 > makes them fail.
thanks for reporting this. Looks like the "fixes" to _modpow of Math::BigInt 1.99 must take the blame though. I'll wrap it up in an upstream bug report shortly. -Martin
I have submitted a patch for Math::BigInt (in #63237). I'll think of a workaround for Math::ModInt later, depending on how soon the actual issue gets fixed.
The cause of the test failure was a bug in Math::BigInt 1.99. It was fixed in Math::BigInt 1.991. There is no easy workaround, nor should Math::ModInt be used with the broken Math::BigInt version. Future Releases of Math::ModInt will require a Math::BigInt version other than 1.99 as a prerequisite. -Martin
As ExtUtils::MakeMaker currently does not support the exclusion of individual versions of prerequisite modules, I have raised the minimum required version of Math::BigInt for Math::ModInt to 1.991 for now. You can safely use any version of Math::BigInt >= 1.58, however, if the test suite of Math::ModInt reports success. -Martin