diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2016-11-09 13:18:28 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2016-11-09 13:18:28 +0000 |
commit | 5cb90c3d43075068a442a44835bf1ecf37491f59 (patch) | |
tree | 6aa4bbfd3c79692e9524c1bf127a6008bd1fabe4 /cpan | |
parent | 392582f8c00033c1199d338baf72f42bbd9ef2dc (diff) | |
download | perl-5cb90c3d43075068a442a44835bf1ecf37491f59.tar.gz |
Upgrade Math::BigInt from vesion 1.999726(_01) to 1.999727
This includes the blead customization.
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/Math-BigInt/lib/Math/BigFloat.pm | 3 | ||||
-rw-r--r-- | cpan/Math-BigInt/lib/Math/BigInt.pm | 4 | ||||
-rw-r--r-- | cpan/Math-BigInt/lib/Math/BigInt/Calc.pm | 2 | ||||
-rw-r--r-- | cpan/Math-BigInt/lib/Math/BigInt/CalcEmu.pm | 2 | ||||
-rw-r--r-- | cpan/Math-BigInt/t/bigintpm.inc | 10 | ||||
-rw-r--r-- | cpan/Math-BigInt/t/calling.t | 2 |
6 files changed, 12 insertions, 11 deletions
diff --git a/cpan/Math-BigInt/lib/Math/BigFloat.pm b/cpan/Math-BigInt/lib/Math/BigFloat.pm index dd625bdfc9..190e2ee85a 100644 --- a/cpan/Math-BigInt/lib/Math/BigFloat.pm +++ b/cpan/Math-BigInt/lib/Math/BigFloat.pm @@ -19,7 +19,7 @@ use warnings; use Carp (); use Math::BigInt (); -our $VERSION = '1.999726'; +our $VERSION = '1.999727'; $VERSION = eval $VERSION; require Exporter; @@ -272,6 +272,7 @@ sub DESTROY { } sub AUTOLOAD { + # make fxxx and bxxx both work by selectively mapping fxxx() to MBF::bxxx() my $name = $AUTOLOAD; $name =~ s/(.*):://; # split package diff --git a/cpan/Math-BigInt/lib/Math/BigInt.pm b/cpan/Math-BigInt/lib/Math/BigInt.pm index ae5c61808a..24b14c4061 100644 --- a/cpan/Math-BigInt/lib/Math/BigInt.pm +++ b/cpan/Math-BigInt/lib/Math/BigInt.pm @@ -20,7 +20,7 @@ use warnings; use Carp (); -our $VERSION = '1.999726_01'; +our $VERSION = '1.999727'; $VERSION = eval $VERSION; our @ISA = qw(Exporter); @@ -4272,7 +4272,7 @@ If the string can not be interpreted, NaN is returned. Octal numbers are typically prefixed by "0", but since leading zeros are stripped, these methods can not automatically recognize octal numbers, so use -the constructor from_oct() to intepret octal strings. +the constructor from_oct() to interpret octal strings. Some examples of valid string input diff --git a/cpan/Math-BigInt/lib/Math/BigInt/Calc.pm b/cpan/Math-BigInt/lib/Math/BigInt/Calc.pm index 4be50f421b..81146dfa6f 100644 --- a/cpan/Math-BigInt/lib/Math/BigInt/Calc.pm +++ b/cpan/Math-BigInt/lib/Math/BigInt/Calc.pm @@ -4,7 +4,7 @@ use 5.006001; use strict; use warnings; -our $VERSION = '1.999726'; +our $VERSION = '1.999727'; $VERSION = eval $VERSION; # Package to store unsigned big integers in decimal and do math with them diff --git a/cpan/Math-BigInt/lib/Math/BigInt/CalcEmu.pm b/cpan/Math-BigInt/lib/Math/BigInt/CalcEmu.pm index 006a6ec7bf..07929bcd09 100644 --- a/cpan/Math-BigInt/lib/Math/BigInt/CalcEmu.pm +++ b/cpan/Math-BigInt/lib/Math/BigInt/CalcEmu.pm @@ -4,7 +4,7 @@ use 5.006001; use strict; use warnings; -our $VERSION = '1.999726'; +our $VERSION = '1.999727'; $VERSION = eval $VERSION; package Math::BigInt; diff --git a/cpan/Math-BigInt/t/bigintpm.inc b/cpan/Math-BigInt/t/bigintpm.inc index d793ce1f6a..7d36cd4aca 100644 --- a/cpan/Math-BigInt/t/bigintpm.inc +++ b/cpan/Math-BigInt/t/bigintpm.inc @@ -565,11 +565,11 @@ $z = 1e+129; # definitely a float (may fail on UTS) # don't compare to $z, since some Perl versions stringify $z into something # like '1.e+129' or something equally ugly SKIP:{ -my $vax_float = (pack("d",1) =~ /^[\x80\x10]\x40/); -skip("vax float range smaller", 1) if $vax_float; -$x = $CLASS->new($z); -is($x->bsstr(), '1e+129', - qq|\$x = $CLASS->new($z); \$x->bsstr() = "1e+129"|); + my $vax_float = (pack("d", 1) =~ /^[\x80\x10]\x40/); + skip("vax float range smaller", 1) if $vax_float; + $x = $CLASS->new($z); + is($x -> bsstr(), '1e+129', + qq|\$x = $CLASS->new($z); \$x->bsstr() = "1e+129"|); } ############################################################################### diff --git a/cpan/Math-BigInt/t/calling.t b/cpan/Math-BigInt/t/calling.t index b81423ca3e..699a216878 100644 --- a/cpan/Math-BigInt/t/calling.t +++ b/cpan/Math-BigInt/t/calling.t @@ -6,7 +6,7 @@ use strict; use warnings; use lib 't'; -my $VERSION = '1.999726'; # adjust manually to match latest release +my $VERSION = '1.999727'; # adjust manually to match latest release $VERSION = eval $VERSION; use Test::More tests => 5; |