Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: peter.john.acklam [...] gmail.com
Cc:
AdminCc:

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



MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 663
Download (untitled) / with headers
text/plain 663b
While syncing the test suits in the Math::BigInt* distros, I came across this bug related to how Math::BigInt works with Math::BigInt::Lite: $ perl -Ilib -MMath::BigInt::Lite -wle ' $x = Math::BigInt::Lite -> new("10000100001"); $y = Math::BigInt::Lite -> new("10000100001"); $z = Math::BigInt::Lite -> new("0"); $x->bmuladd($y,$z); print $x' Can't use an undefined value as an ARRAY reference at /usr/local/lib/perl5/5.10/Math/BigInt/Calc.pm line 306. Since $x is Math::BigInt, I suspect there is something wrong in Math::BigInt->bmuladd(). The bug exists in older versions of Math::BigInt, but I haven't bothered to check actually how long it has been around.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26835-1299225940-1502.66369-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 80
BTW, $x is a Math::BigInt, $y is a Math::BigInt, and $z is a Math::BigInt::Lite.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-26835-1299225940-1502.66369-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-26835-1299225940-1502.66369-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26838-1299495682-1525.66369-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 61
Patched in blead as 913a64d572c047fbf9e646912677430ae169371b.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-25792-1341857697-1651.66369-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 25
Please close this ticket.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.