In perl.git, the branch smoke-me/tonyc/post-5.22 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/8157ca06f9247a43415074a35578514742dde463?hp=0000000000000000000000000000000000000000>
at 8157ca06f9247a43415074a35578514742dde463 (commit)
- Log -----------------------------------------------------------------
commit 8157ca06f9247a43415074a35578514742dde463
Author: Peter John Acklam <[email protected]>
Date: Tue Apr 28 13:07:43 2015 +0200
Fix bug in Math::BigFloat's bceil() and bint() methods.
- When $x is a Math::BigFloat, $x -> bceil() and $x -> bint() for -1 < $x < 0
returns -0. Negative zero is never used by Math::Big(Int|Float), and care
has
been taken to avoid it, so this bug is surely an oversight.
- This patch fixes CPAN RT #104012.
M dist/Math-BigInt/lib/Math/BigFloat.pm
M dist/Math-BigInt/t/bare_mbf.t
M dist/Math-BigInt/t/bigfltpm.inc
M dist/Math-BigInt/t/bigfltpm.t
M dist/Math-BigInt/t/sub_mbf.t
M dist/Math-BigInt/t/with_sub.t
commit 7869c918afa9c9e5eb1c32351be539209081b1b7
Author: Peter John Acklam <[email protected]>
Date: Fri Apr 24 15:13:33 2015 +0200
Speed up Math::BigFloat -> blog().
- Intermediate computations in blog() increases the number of digits
significantly in some cases. Reduce the number of digits by rounding.
However, keep some extra digits for remaining intermediate computations
before the final rounding.
- This patch fixes CPAN RT #43924.
M dist/Math-BigInt/lib/Math/BigFloat.pm
commit 75a957c4a88c5b67a5cd43af942404e7b16c413c
Author: Reini Urban <[email protected]>
Date: Thu Apr 23 12:42:40 2015 +0200
lib/vars_carp.t: fix wrong test
actually load vars to test its new sideeffect
M lib/vars_carp.t
commit a52a8bcbae628889a8defc5e1529c75df4101e31
Author: Niko Tyni <[email protected]>
Date: Sat Apr 18 18:59:07 2015 +0300
Fix quote() function to escape backslashes but not minus signs
The delimiter character isn't special in character square brackets,
and neither is the backslash. So '\-\' means just a range of backslash
to backslash, and the minus sign isn't included at all.
Substitution tested with GNU Solaris 9 sed programs.
Originally noticed by Kristoffer Grundstr?m.
Bug-Debian: https://bugs.debian.org/754057
M Makefile.SH
commit db8f5045acfdbe36826f01d1945d455ebea4052d
Author: Peter John Acklam <[email protected]>
Date: Fri Apr 17 21:28:37 2015 +0200
Correct Math::BigInt -> new() for non-integer input.
The documentation in Math::BigInt says about input values that "Non-integer
values result in NaN." The actual behaviour doesn't comply with this.
- All input values in the range (-1,1) written as a decimal number, e.g.,
-0.75 and 0.5, now return NaN, not 0.
- Input values with a large (absolute value) negative exponent, e.g.,
1e-9999999, now return NaN. The former behaviour was to die with the
message "Quantifier in {,} bigger than 32766 in regex; marked by ..."
- This patch fixes CPAN RT #61887 and CPAN RT #63038.
M dist/Math-BigInt/lib/Math/BigInt.pm
M dist/Math-BigInt/t/bigintpm.inc
commit a9bbf6606e6deeef19a78a93d2b480e746cb15c1
Author: Niko Tyni <[email protected]>
Date: Wed Apr 15 18:41:57 2015 +0300
Make t/run/locale.t survive missing locales masked by LC_ALL
If LC_ALL is set to a valid locale but another LC_* setting like LC_CTYPE
isn't, t/run/locale.t would fail because it explicitly unsets LC_ALL,
unmasking the problem underneath. All the other tests survive such
a scenario.
While this is clearly an error in the build environment, it's easy to make
the test more robust by first clearing all the locale relevant variables.
Bug-Debian: https://bugs.debian.org/782068
M t/run/locale.t
commit 7b74951eac61c30d91583951959b0224c1778883
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 eafd0099007fb524e7ab109b9f28c952c93f1d05
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 1b0af0c30b01563b3725ca12366c31c439d3b388
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 dc18080a5875c0a8a814cf09dec0c30ba589da51
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 313d5aaa2918246b0e424db7daede6b27d50fdd7
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 7fab2d3eeeed63f88e0e5479f8b89e756cbba440
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