Skip Menu |

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

Report information
The Basics
Id: 70615
Status: resolved
Priority: 0/
Queue: Math-BigInt-FastCalc

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bigfltpm numify recently broken
Date: Tue, 30 Aug 2011 21:41:19 +0100
To: bug-Math-BigInt-FastCalc [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Math::BigInt::FastCalc 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
You didn't give any information about which version of Math::BigInt::FastCalc you are using. However, I reproduced your bug using Math::BigInt::FastCalc 0.29 and Math::BigInt 1.993. Math::BigInt::FastCalc 0.30 requires Math::BigInt 1.997, which does not cause this bug, so I it seems that this issue is fixed.
Fixed in Math::BigInt::FastCalc 0.30.