diff options
author | 2019-02-13 21:15:00 +0000 | |
---|---|---|
committer | 2019-02-13 21:15:00 +0000 | |
commit | 9f11ffb7133c203312a01e4b986886bc88c7d74b (patch) | |
tree | 6618511204c614b20256e4ef9dea39a7b311d638 /gnu/usr.bin/perl/cpan/Math-BigInt/t/Math | |
parent | Import perl-5.28.1 (diff) | |
download | wireguard-openbsd-9f11ffb7133c203312a01e4b986886bc88c7d74b.tar.xz wireguard-openbsd-9f11ffb7133c203312a01e4b986886bc88c7d74b.zip |
Fix merge issues, remove excess files - match perl-5.28.1 dist
looking good sthen@, Great! bluhm@
Diffstat (limited to 'gnu/usr.bin/perl/cpan/Math-BigInt/t/Math')
3 files changed, 8 insertions, 36 deletions
diff --git a/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigFloat/Subclass.pm b/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigFloat/Subclass.pm index f35e26710cb..c9ec01e1293 100644 --- a/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigFloat/Subclass.pm +++ b/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigFloat/Subclass.pm @@ -14,9 +14,9 @@ use Math::BigFloat 1.38; our ($accuracy, $precision, $round_mode, $div_scale); -our @ISA = qw(Exporter Math::BigFloat); +our @ISA = qw(Math::BigFloat Exporter); -our $VERSION = "0.06"; +our $VERSION = "0.07"; use overload; # inherit overload from BigInt diff --git a/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/BareCalc.pm b/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/BareCalc.pm index c0cec45a2da..86522d5d63c 100644 --- a/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/BareCalc.pm +++ b/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/BareCalc.pm @@ -2,44 +2,16 @@ package Math::BigInt::BareCalc; -use 5.005; use strict; use warnings; -require Exporter; - -our @ISA = qw(Exporter); - -our $VERSION = '0.06'; - -sub api_version () { 1; } +our $VERSION = '1.999803'; # Package to to test Bigint's simulation of Calc -# Uses Calc, but only features the strictly neccessary methods. - -use Math::BigInt::Calc '0.51'; - -BEGIN { - no strict 'refs'; - foreach (qw/ - base_len new zero one two ten copy str num add sub mul div mod inc dec - acmp alen len digit zeros - rsft lsft - fac pow gcd log_int sqrt root - is_zero is_one is_odd is_even is_one is_two is_ten check - as_hex as_bin as_oct from_hex from_bin from_oct - modpow modinv - and xor or - /) - { - my $name = "Math::BigInt::Calc::_$_"; - *{"Math::BigInt::BareCalc::_$_"} = \&$name; - } - print "# BareCalc using Calc v$Math::BigInt::Calc::VERSION\n"; -} +use Math::BigInt::Calc '1.9998'; +our @ISA = qw(Math::BigInt::Calc); -# catch and throw away -sub import { } +print "# BareCalc using Calc v", Math::BigInt::Calc -> VERSION, "\n"; 1; diff --git a/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/Subclass.pm b/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/Subclass.pm index 8876a83a089..5acdf1c24d7 100644 --- a/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/Subclass.pm +++ b/gnu/usr.bin/perl/cpan/Math-BigInt/t/Math/BigInt/Subclass.pm @@ -14,10 +14,10 @@ use Math::BigInt 1.64; our $lib; our ($accuracy, $precision, $round_mode, $div_scale); -our @ISA = qw(Exporter Math::BigInt); +our @ISA = qw(Math::BigInt Exporter); our @EXPORT_OK = qw(bgcd objectify); -our $VERSION = "0.05"; +our $VERSION = "0.06"; use overload; # inherit overload from BigInt |