In perl.git, the branch smoke-me/tonyc/post-5.22 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/d2000db774374616b70be4201a3d2e1b9fd751dc?hp=0000000000000000000000000000000000000000>
at d2000db774374616b70be4201a3d2e1b9fd751dc (commit)
- Log -----------------------------------------------------------------
commit d2000db774374616b70be4201a3d2e1b9fd751dc
Author: Peter John Acklam <[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 7c32b40e0df335cdb7d2330c95017061d63a6708
Author: Peter John Acklam <[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
commit dcfe8e01b1809e7f75e5d9cf3c193222927bb1f4
Author: Jim Cromie <[email protected]>
Date: Sat Apr 4 12:49:27 2015 -0600
fix XXX on DEBUG_TOP_FLAG comment
DEBUG_TOP_FLAG is ORd into PL_debug when -D option is used, so that
"if (PL_debug)" can be used, w/o also enabling (or requiring) any
specific DEBUG_(.)_FLAGs. It is used in Perl_runops_debug to
short-circuit several DEBUG_(.)_TESTs.
M perl.h
commit 8e0e64bbd65a8e8a083aa252a6129d4028e4eb93
Author: Jim Cromie <[email protected]>
Date: Wed Dec 3 10:34:36 2014 -0700
perl_clone_using: Zero -DPERL_TRACE_OPS mem for sub-threads
perl_clone_using() is missing Zero init of PL_op_exec_cnt[]. This
causes sub-threads in threaded -DPERL_TRACE_OPS builds to spew
exceedingly large op-counts at destruct. These counts would print %x
as "ABABABAB", clearly a mem-poison value.
M sv.c
commit 353f8a2f7690b3f5fcd66ccc2e5d247bf251b6bb
Author: Daniel Dragan <[email protected]>
Date: Fri Mar 27 03:02:58 2015 -0400
remove obsolete VOL in S_parse_body
commit 312caa8e97 removed dJMPENV from perl_parse_body (former perl_parse)
when it created perl_parse_body and perl_parse kept the dJMPENV, but this
commit forgot to remove the VOL tag on var dosearch. Since the VOL is
only required when the function has a setjmp in it, and this function
doesn't have a setjmp in it anymore, remove the VOL tag.
M perl.c
commit f7ab9f75832985f7550d5e86c7c9663225239143
Author: Dagfinn Ilmari Mannsåker <[email protected]>
Date: Fri Mar 20 17:49:12 2015 +0000
Handle fcntl(F_GETPIPE_SZ) failure in t/io/eintr.t
Even if the F_GETPIPE_SZ constant is defined, the fcntl() call can
fail (e.g. with EINVAL), so fall back to the default in that case.
M t/io/eintr.t
-----------------------------------------------------------------------
--
Perl5 Master Repository