[libmath-prime-util-perl] 69/72: Documentation update

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


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

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

commit 42d15b459c251b631939f09f81fabc4eee3dbf5a
Author: Dana Jacobsen <dana at acm.org>
Date:   Mon Oct 14 18:36:59 2013 -0700

    Documentation update
---
 lib/Math/Prime/Util/PrimeIterator.pm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/lib/Math/Prime/Util/PrimeIterator.pm b/lib/Math/Prime/Util/PrimeIterator.pm
index f5ab634..8a43233 100644
--- a/lib/Math/Prime/Util/PrimeIterator.pm
+++ b/lib/Math/Prime/Util/PrimeIterator.pm
@@ -214,18 +214,14 @@ The iterator is unchanged after this call.
 
 Returns an estimate of the index corresponding to the argument.  That is,
 given a value C<n>, we expect a prime approximately equal to C<n> to occur
-at this index..
+at this index.
 
 The estimate is performed using L<Math::Prime::Util/prime_count_approx>,
 which uses the estimates of Dusart 2010 (or better for small values).
-This has an error two or more orders of magnitude less than the estimate
-used by L<Math::NumSeq::Primes>.  E.g. given a value of 86028121 whose
-true index is 5000000, this method returns 5000067 while
-Math::NumSeq::Primes returns 4708661.
 
 =head2 value_to_i
 
-If the argument is prime, then returns the index.  In this case:
+If the argument is prime, returns the corresponding index, such that:
 
   ith( value_to_i( $n ) ) == $n
 

-- 
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