[libmath-prime-util-perl] 103/181: Update version number and date

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:51:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.36
in repository libmath-prime-util-perl.

commit a33b4a94c189821cf5bb3e14f19ea789226d88ea
Author: Dana Jacobsen <dana at acm.org>
Date:   Thu Jan 2 11:16:31 2014 -0800

    Update version number and date
---
 Changes                                  |  2 +-
 LICENSE                                  |  6 +++---
 README                                   |  4 ++--
 lib/Math/Prime/Util.pm                   |  6 +++---
 lib/Math/Prime/Util/ECAffinePoint.pm     | 10 +++-------
 lib/Math/Prime/Util/ECProjectivePoint.pm | 10 +++-------
 lib/Math/Prime/Util/MemFree.pm           |  4 ++--
 lib/Math/Prime/Util/PP.pm                |  5 ++---
 lib/Math/Prime/Util/PrimalityProving.pm  |  9 ++-------
 lib/Math/Prime/Util/PrimeArray.pm        |  4 ++--
 lib/Math/Prime/Util/PrimeIterator.pm     |  4 ++--
 lib/Math/Prime/Util/ZetaBigFloat.pm      |  4 ++--
 12 files changed, 27 insertions(+), 41 deletions(-)

diff --git a/Changes b/Changes
index bbe305b..51dda6a 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
 Revision history for Perl module Math::Prime::Util
 
-0.36  2013-12
+0.36  2014-01
 
     [API Changes]
 
diff --git a/LICENSE b/LICENSE
index 1077991..1785abe 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2011-2013 by Dana Jacobsen.
+This software is Copyright (c) 2011-2014 by Dana Jacobsen.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2011-2013 by Dana Jacobsen.
+This software is Copyright (c) 2011-2014 by Dana Jacobsen.
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@ That's all there is to it!
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2011-2013 by Dana Jacobsen.
+This software is Copyright (c) 2011-2014 by Dana Jacobsen.
 
 This is free software, licensed under:
 
diff --git a/README b/README
index e718b13..bdaedd5 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Math::Prime::Util version 0.34
+Math::Prime::Util version 0.36
 
 A set of utilities related to prime numbers.  These include multiple sieving
 methods, is_prime, prime_count, nth_prime, approximations and bounds for
@@ -59,7 +59,7 @@ Bytes::Random::Secure 0.23 or later.
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2011-2013 by Dana Jacobsen <dana at acm.org>
+Copyright (C) 2011-2014 by Dana Jacobsen <dana at acm.org>
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.
diff --git a/lib/Math/Prime/Util.pm b/lib/Math/Prime/Util.pm
index 8f550e6..9934644 100644
--- a/lib/Math/Prime/Util.pm
+++ b/lib/Math/Prime/Util.pm
@@ -6,7 +6,7 @@ use Math::BigInt try=>"GMP,Pari";
 
 BEGIN {
   $Math::Prime::Util::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::VERSION = '0.35';
+  $Math::Prime::Util::VERSION = '0.36';
 }
 
 # parent is cleaner, and in the Perl 5.10.1 / 5.12.0 core, but not earlier.
@@ -2382,7 +2382,7 @@ Math::Prime::Util - Utilities related to prime numbers, including fast sieves an
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
@@ -5062,7 +5062,7 @@ John Brillhart, D. H. Lehmer, and J. L. Selfridge, "New Primality Criteria and F
 
 =head1 COPYRIGHT
 
-Copyright 2011-2013 by Dana Jacobsen E<lt>dana at acm.orgE<gt>
+Copyright 2011-2014 by Dana Jacobsen E<lt>dana at acm.orgE<gt>
 
 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
 
diff --git a/lib/Math/Prime/Util/ECAffinePoint.pm b/lib/Math/Prime/Util/ECAffinePoint.pm
index 4c032aa..d2d67d0 100644
--- a/lib/Math/Prime/Util/ECAffinePoint.pm
+++ b/lib/Math/Prime/Util/ECAffinePoint.pm
@@ -2,15 +2,11 @@ package Math::Prime::Util::ECAffinePoint;
 use strict;
 use warnings;
 use Carp qw/carp croak confess/;
-
-if (!defined $Math::BigInt::VERSION) {
-  eval { require Math::BigInt;   Math::BigInt->import(try=>'GMP,Pari'); 1; }
-  or do { croak "Cannot load Math::BigInt"; };
-}
+use Math::BigInt try=>"GMP,Pari";
 
 BEGIN {
   $Math::Prime::Util::ECAffinePoint::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::ECAffinePoint::VERSION = '0.35';
+  $Math::Prime::Util::ECAffinePoint::VERSION = '0.36';
 }
 
 # Pure perl (with Math::BigInt) manipulation of Elliptic Curves
@@ -154,7 +150,7 @@ Math::Prime::Util::ECAffinePoint - Elliptic curve operations for affine points
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/ECProjectivePoint.pm b/lib/Math/Prime/Util/ECProjectivePoint.pm
index 480d1c1..dd30eb8 100644
--- a/lib/Math/Prime/Util/ECProjectivePoint.pm
+++ b/lib/Math/Prime/Util/ECProjectivePoint.pm
@@ -2,15 +2,11 @@ package Math::Prime::Util::ECProjectivePoint;
 use strict;
 use warnings;
 use Carp qw/carp croak confess/;
-
-if (!defined $Math::BigInt::VERSION) {
-  eval { require Math::BigInt;   Math::BigInt->import(try=>'GMP,Pari'); 1; }
-  or do { croak "Cannot load Math::BigInt"; };
-}
+use Math::BigInt try=>"GMP,Pari";
 
 BEGIN {
   $Math::Prime::Util::ECProjectivePoint::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::ECProjectivePoint::VERSION = '0.35';
+  $Math::Prime::Util::ECProjectivePoint::VERSION = '0.36';
 }
 
 # Pure perl (with Math::BigInt) manipulation of Elliptic Curves
@@ -201,7 +197,7 @@ Math::Prime::Util::ECProjectivePoint - Elliptic curve operations for projective
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/MemFree.pm b/lib/Math/Prime/Util/MemFree.pm
index 74baa34..915f0ff 100644
--- a/lib/Math/Prime/Util/MemFree.pm
+++ b/lib/Math/Prime/Util/MemFree.pm
@@ -4,7 +4,7 @@ use warnings;
 
 BEGIN {
   $Math::Prime::Util::MemFree::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::MemFree::VERSION = '0.35';
+  $Math::Prime::Util::MemFree::VERSION = '0.36';
 }
 
 use base qw( Exporter );
@@ -44,7 +44,7 @@ Math::Prime::Util::MemFree - An auto-free object for Math::Prime::Util
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/PP.pm b/lib/Math/Prime/Util/PP.pm
index 68b85c4..7e1e3ef 100644
--- a/lib/Math/Prime/Util/PP.pm
+++ b/lib/Math/Prime/Util/PP.pm
@@ -6,7 +6,7 @@ use Math::BigInt try=>"GMP,Pari";
 
 BEGIN {
   $Math::Prime::Util::PP::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::PP::VERSION = '0.35';
+  $Math::Prime::Util::PP::VERSION = '0.36';
 }
 
 # The Pure Perl versions of all the Math::Prime::Util routines.
@@ -637,7 +637,6 @@ sub _legendre_phi {
   my ($x, $a, $primes) = @_;
   return _mapes($x,$a) if $a <= 6;
   $primes = primes(Math::Prime::Util::nth_prime_upper($a+1)) unless defined $primes;
-print "a: $a  ", join(",",@$primes), "\n";
   return ($x > 0 ? 1 : 0) if $x < $primes->[$a];
 
   my $sum = 0;
@@ -2667,7 +2666,7 @@ Math::Prime::Util::PP - Pure Perl version of Math::Prime::Util
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/PrimalityProving.pm b/lib/Math/Prime/Util/PrimalityProving.pm
index 4d5dfb4..09ee681 100644
--- a/lib/Math/Prime/Util/PrimalityProving.pm
+++ b/lib/Math/Prime/Util/PrimalityProving.pm
@@ -12,7 +12,7 @@ use Math::Prime::Util qw/is_prob_prime is_strong_pseudoprime
 
 BEGIN {
   $Math::Prime::Util::PrimalityProving::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::PrimalityProving::VERSION = '0.35';
+  $Math::Prime::Util::PrimalityProving::VERSION = '0.36';
 }
 
 my $_smallval = Math::BigInt->new("18446744073709551615");
@@ -62,11 +62,6 @@ sub primality_proof_lucas {
   return (2, _small_cert($n)) if $n < 4;
   return @composite if is_strong_pseudoprime($n,2,15,325) == 0;
 
-  if (!defined $Math::BigInt::VERSION) {
-    eval { require Math::BigInt;   Math::BigInt->import(try=>'GMP,Pari'); 1; }
-    or do { croak "Cannot load Math::BigInt"; };
-  }
-
   my $nm1 = $n-1;
   my @factors = factor($nm1);
   { # remove duplicate factors and make a sorted array of bigints
@@ -849,7 +844,7 @@ Math::Prime::Util::PrimalityProving - Primality proofs and certificates
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/PrimeArray.pm b/lib/Math/Prime/Util/PrimeArray.pm
index e5344be..3c99db0 100644
--- a/lib/Math/Prime/Util/PrimeArray.pm
+++ b/lib/Math/Prime/Util/PrimeArray.pm
@@ -4,7 +4,7 @@ use warnings;
 
 BEGIN {
   $Math::Prime::Util::PrimeArray::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::PrimeArray::VERSION = '0.35';
+  $Math::Prime::Util::PrimeArray::VERSION = '0.36';
 }
 
 # parent is cleaner, and in the Perl 5.10.1 / 5.12.0 core, but not earlier.
@@ -135,7 +135,7 @@ Math::Prime::Util::PrimeArray - A tied array for primes
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/PrimeIterator.pm b/lib/Math/Prime/Util/PrimeIterator.pm
index 123f032..d778299 100644
--- a/lib/Math/Prime/Util/PrimeIterator.pm
+++ b/lib/Math/Prime/Util/PrimeIterator.pm
@@ -4,7 +4,7 @@ use warnings;
 
 BEGIN {
   $Math::Prime::Util::PrimeIterator::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::PrimeIterator::VERSION = '0.35';
+  $Math::Prime::Util::PrimeIterator::VERSION = '0.36';
 }
 
 use base qw( Exporter );
@@ -130,7 +130,7 @@ Math::Prime::Util::PrimeIterator - An object iterator for primes
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/ZetaBigFloat.pm b/lib/Math/Prime/Util/ZetaBigFloat.pm
index fbadc24..b87792c 100644
--- a/lib/Math/Prime/Util/ZetaBigFloat.pm
+++ b/lib/Math/Prime/Util/ZetaBigFloat.pm
@@ -4,7 +4,7 @@ use warnings;
 
 BEGIN {
   $Math::Prime::Util::ZetaBigFloat::AUTHORITY = 'cpan:DANAJ';
-  $Math::Prime::Util::ZetaBigFloat::VERSION = '0.35';
+  $Math::Prime::Util::ZetaBigFloat::VERSION = '0.36';
 }
 
 use Math::BigInt try => "GMP,Pari";
@@ -465,7 +465,7 @@ Math::Prime::Util::ZetaBigFloat - Perl Big Float versions of Riemann Zeta and R
 
 =head1 VERSION
 
-Version 0.35
+Version 0.36
 
 
 =head1 SYNOPSIS

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git



More information about the Pkg-perl-cvs-commits mailing list