This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #85482] Make bmuladd() able to handle third arg properly.
authorPeter John Acklam <pjacklam@online.no>
Sun, 6 Mar 2011 00:55:30 +0000 (16:55 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 6 Mar 2011 01:16:20 +0000 (17:16 -0800)
commit913a64d572c047fbf9e646912677430ae169371b
tree636585b816f33c1aaa66eb5e5782d5c0aa6e5072
parent02916adf982e17a20465ed6e7008686ec9499a1e
[perl #85482] Make bmuladd() able to handle third arg properly.

bmuladd() contains a test to avoid calling objectify() when it isn't
necessary. This test catches too much, so objectify() isn't always called
when it should have been, e.g., when the two first arguments are are
Math::BigInts and the third is something else, a Math::BigInt::Lite for
example. This causes tests in Math::BigInt::Lite to fail (RT #66369). Also
fix bmuladd() in Math::BigFloat since it suffers from the same problem.
dist/Math-BigInt/lib/Math/BigFloat.pm
dist/Math-BigInt/lib/Math/BigInt.pm