diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2016-07-12 08:37:08 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2016-07-12 08:37:08 +0100 |
commit | fb7f2fa30aa1a0ae073687c141e54ee988425430 (patch) | |
tree | dfda167945ef0594becbe5b2e88e40e4d35ba74b /cpan/bignum | |
parent | 4c59e6977b7b8e777430ddcab7b7bbf9e12c0720 (diff) | |
download | perl-fb7f2fa30aa1a0ae073687c141e54ee988425430.tar.gz |
Upgrade bignum from version 0.42 to 0.43
Diffstat (limited to 'cpan/bignum')
-rw-r--r-- | cpan/bignum/lib/Math/BigFloat/Trace.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/Math/BigInt/Trace.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/bigint.pm | 6 | ||||
-rw-r--r-- | cpan/bignum/lib/bignum.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/lib/bigrat.pm | 2 | ||||
-rw-r--r-- | cpan/bignum/t/bigexp.t | 1 |
6 files changed, 7 insertions, 8 deletions
diff --git a/cpan/bignum/lib/Math/BigFloat/Trace.pm b/cpan/bignum/lib/Math/BigFloat/Trace.pm index 5e043f5ef0..c1aabce1ab 100644 --- a/cpan/bignum/lib/Math/BigFloat/Trace.pm +++ b/cpan/bignum/lib/Math/BigFloat/Trace.pm @@ -13,7 +13,7 @@ our ($PACKAGE, @EXPORT_OK, $accuracy, $precision, $round_mode, $div_scale); our @ISA = qw(Exporter Math::BigFloat); -our $VERSION = '0.42'; +our $VERSION = '0.43'; use overload; # inherit overload from BigFloat diff --git a/cpan/bignum/lib/Math/BigInt/Trace.pm b/cpan/bignum/lib/Math/BigInt/Trace.pm index 646c05f645..e780e66a60 100644 --- a/cpan/bignum/lib/Math/BigInt/Trace.pm +++ b/cpan/bignum/lib/Math/BigInt/Trace.pm @@ -13,7 +13,7 @@ our ($PACKAGE, @EXPORT_OK, $accuracy, $precision, $round_mode, $div_scale); our @ISA = qw(Exporter Math::BigInt); -our $VERSION = '0.42'; +our $VERSION = '0.43'; use overload; # inherit overload from BigInt diff --git a/cpan/bignum/lib/bigint.pm b/cpan/bignum/lib/bigint.pm index a47191e271..fa30eb8122 100644 --- a/cpan/bignum/lib/bigint.pm +++ b/cpan/bignum/lib/bigint.pm @@ -4,7 +4,7 @@ use 5.006; use strict; use warnings; -our $VERSION = '0.42'; +our $VERSION = '0.43'; use Exporter; our @ISA = qw( Exporter ); @@ -359,8 +359,8 @@ sub import { } } -sub inf () { Math::BigInt::binf(); } -sub NaN () { Math::BigInt::bnan(); } +sub inf () { Math::BigInt->binf(); } +sub NaN () { Math::BigInt->bnan(); } sub PI () { Math::BigInt->new(3); } sub e () { Math::BigInt->new(2); } diff --git a/cpan/bignum/lib/bignum.pm b/cpan/bignum/lib/bignum.pm index 90d5db5aed..bf2881eb90 100644 --- a/cpan/bignum/lib/bignum.pm +++ b/cpan/bignum/lib/bignum.pm @@ -4,7 +4,7 @@ use 5.006; use strict; use warnings; -our $VERSION = '0.42'; +our $VERSION = '0.43'; use Exporter; our @ISA = qw( bigint ); diff --git a/cpan/bignum/lib/bigrat.pm b/cpan/bignum/lib/bigrat.pm index 79fe84d9f7..8557fc965a 100644 --- a/cpan/bignum/lib/bigrat.pm +++ b/cpan/bignum/lib/bigrat.pm @@ -4,7 +4,7 @@ use 5.006; use strict; use warnings; -our $VERSION = '0.42'; +our $VERSION = '0.43'; use Exporter; our @ISA = qw( bigint ); diff --git a/cpan/bignum/t/bigexp.t b/cpan/bignum/t/bigexp.t index 03355a5946..61d39b2b82 100644 --- a/cpan/bignum/t/bigexp.t +++ b/cpan/bignum/t/bigexp.t @@ -12,7 +12,6 @@ use bignum; my $ln_ev = -7 / (10 ** 17); my $ev = exp($ln_ev); - is(sprintf('%0.5f', $ev), '1.00000', '($ev) is approx. 1'); is(sprintf('%0.5f', 1 - $ev), '0.00000', '(1-$ev) is approx. 0'); is(sprintf('%0.5f', 1 - "$ev"), '0.00000', '(1-"$ev") is approx. 0'); |