Subject: | bigfltpm numify recently broken |
Date: | Tue, 30 Aug 2011 21:42:06 +0100 |
To: | bug-Math-BigInt-GMP [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
Math::BigInt::GMP is failing part of its test suite because of this
recent change in behaviour of Math::BigFloat:
$ perl5.14.1 -MMath::BigFloat -lwe 'print $Math::BigFloat::VERSION; print Math::BigFloat->new("-100")->numify'
1.993
-1e+2
$ perl5.15.0 -MMath::BigFloat -lwe 'print $Math::BigFloat::VERSION; print Math::BigFloat->new("-100")->numify'
1.994
-100
t/bigfltpm.inc is testing for the old behaviour, and so fails if the new
version is installed. It should presumably test for the new behaviour
and declare a dependency on Math::Big{Int,Float} 1.994. However, the
latest M:BI on CPAN is version 1.993; 1.994 and later only come bundled
with core 5.15.*.
-zefram