[libmath-prime-util-perl] 04/13: Bump version number
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:45:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.11
in repository libmath-prime-util-perl.
commit ca6fc7b6036bc7102ae7727d2b91333ebd1c908f
Author: Dana Jacobsen <dana at acm.org>
Date: Wed Jul 18 09:44:58 2012 -0500
Bump version number
---
README | 2 +-
lib/Math/Prime/Util.pm | 4 ++--
lib/Math/Prime/Util/MemFree.pm | 4 ++--
lib/Math/Prime/Util/PP.pm | 8 ++++----
lib/Math/Prime/Util/PrimeArray.pm | 4 ++--
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README b/README
index 6d6e1de..77447c8 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Math::Prime::Util version 0.10
+Math::Prime::Util version 0.11
A set of utilities related to prime numbers. These include multiple sieving
methods, is_prime, prime_count, nth_prime, approximations and bounds for
diff --git a/lib/Math/Prime/Util.pm b/lib/Math/Prime/Util.pm
index abfd7a5..e65c299 100644
--- a/lib/Math/Prime/Util.pm
+++ b/lib/Math/Prime/Util.pm
@@ -5,7 +5,7 @@ use Carp qw/croak confess carp/;
BEGIN {
$Math::Prime::Util::AUTHORITY = 'cpan:DANAJ';
- $Math::Prime::Util::VERSION = '0.10';
+ $Math::Prime::Util::VERSION = '0.11';
}
# parent is cleaner, and in the Perl 5.10.1 / 5.12.0 core, but not earlier.
@@ -1220,7 +1220,7 @@ Math::Prime::Util - Utilities related to prime numbers, including fast sieves an
=head1 VERSION
-Version 0.10
+Version 0.11
=head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/MemFree.pm b/lib/Math/Prime/Util/MemFree.pm
index 37511bf..085285f 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.10';
+ $Math::Prime::Util::MemFree::VERSION = '0.11';
}
use base qw( Exporter );
@@ -44,7 +44,7 @@ Math::Prime::Util::MemFree - An auto-free object for Math::Prime::Util
=head1 VERSION
-Version 0.10
+Version 0.11
=head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/PP.pm b/lib/Math/Prime/Util/PP.pm
index 0e83977..4a589bc 100644
--- a/lib/Math/Prime/Util/PP.pm
+++ b/lib/Math/Prime/Util/PP.pm
@@ -5,7 +5,7 @@ use Carp qw/carp croak confess/;
BEGIN {
$Math::Prime::Util::PP::AUTHORITY = 'cpan:DANAJ';
- $Math::Prime::Util::PP::VERSION = '0.10';
+ $Math::Prime::Util::PP::VERSION = '0.11';
}
# The Pure Perl versions of all the Math::Prime::Util routines.
@@ -1276,10 +1276,10 @@ sub _evaluate_zeta {
my($y, $t);
my $c = 0.0;
- $y = (1.0/(2.0**$x))-$c; $t = $sum+$y; $c = ($t-$sum)-$y; $sum = $t;
+ $y = (2.0 ** -$x)-$c; $t = $sum+$y; $c = ($t-$sum)-$y; $sum = $t;
for my $k (3 .. 100000) {
- my $term = 1.0 / ($k ** $x);
+ my $term = $k ** -$x;
$y = $term-$c; $t = $sum+$y; $c = ($t-$sum)-$y; $sum = $t;
last if abs($term) < $tol;
}
@@ -1330,7 +1330,7 @@ Math::Prime::Util::PP - Pure Perl version of Math::Prime::Util
=head1 VERSION
-Version 0.10
+Version 0.11
=head1 SYNOPSIS
diff --git a/lib/Math/Prime/Util/PrimeArray.pm b/lib/Math/Prime/Util/PrimeArray.pm
index 31eca43..881bfc3 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.10';
+ $Math::Prime::Util::PrimeArray::VERSION = '0.11';
}
# parent is cleaner, and in the Perl 5.10.1 / 5.12.0 core, but not earlier.
@@ -109,7 +109,7 @@ Math::Prime::Util::PrimeArray - A tied array for primes
=head1 VERSION
-Version 0.10
+Version 0.11
=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