In perl.git, the branch smoke-me/jkeenan/124300-124303-Math-BigIntRat has been created
<http://perl5.git.perl.org/perl.git/commitdiff/c599f5f8712a4d9a394552bf01c012baf0419215?hp=0000000000000000000000000000000000000000> at c599f5f8712a4d9a394552bf01c012baf0419215 (commit) - Log ----------------------------------------------------------------- commit c599f5f8712a4d9a394552bf01c012baf0419215 Author: James E Keenan <[email protected]> Date: Tue Apr 14 21:28:29 2015 -0400 Add alternate email address for pjacklam. For RT #124300 and RT #124303. M Porting/checkAUTHORS.pl commit 267cf1f0444532f603610285e24f8a4167a3f9ab Author: pjacklam <[email protected]> Date: Tue Apr 14 20:56:40 2015 +0200 Correct bdiv() and bmod() in Math::BigRat - Added support for bdiv() in list context. Added corresponding tests. - Changed bmod() so the result corresponds to Perl's % operator, as well as the second output argument of bdiv() in list contest. Modified tests correspondingly. Now the behaviour of bmod() is consistent between Math::BigInt, Math::BigFloat, and Math::BigRat. - Clearer POD for the bdiv() and bmod() methods. M dist/Math-BigRat/lib/Math/BigRat.pm M dist/Math-BigRat/t/bigratpm.inc M dist/Math-BigRat/t/bigratpm.t commit 5c93cf6675f028a3b8693ffcbe3c1860cd4955be Author: pjacklam <[email protected]> Date: Tue Apr 14 15:20:14 2015 +0200 Correct bdiv() and bmod() in Math::BigInt and Math::BigFloat - The POD documentation, as well as the comments in the code, say that $x->bdiv($y) in list context should return quotient $q and remainder $r so that $x = $q * $y + $r, and that the remainder (modulo) $r should correspond to Perl's % operator as well as the bmod() method. This has not been the actual behaviour. This patch fixes this. - Clearer POD documentation for the bdiv() and bmod() methods. - Changed test files to match corrected behaviour. - Removed some duplicated tests. M dist/Math-BigInt/lib/Math/BigFloat.pm M dist/Math-BigInt/lib/Math/BigInt.pm M dist/Math-BigInt/lib/Math/BigInt/Calc.pm M dist/Math-BigInt/lib/Math/BigInt/CalcEmu.pm M dist/Math-BigInt/t/bare_mbf.t M dist/Math-BigInt/t/bare_mbi.t M dist/Math-BigInt/t/bigfltpm.inc M dist/Math-BigInt/t/bigfltpm.t M dist/Math-BigInt/t/bigintpm.inc M dist/Math-BigInt/t/bigintpm.t M dist/Math-BigInt/t/inf_nan.t M dist/Math-BigInt/t/sub_mbf.t M dist/Math-BigInt/t/sub_mbi.t M dist/Math-BigInt/t/upgrade.inc M dist/Math-BigInt/t/upgrade.t M dist/Math-BigInt/t/with_sub.t ----------------------------------------------------------------------- -- Perl5 Master Repository
