Permalink
Browse files

Bump version and improve docs

  • Loading branch information...
1 parent 1b8b7f7 commit 47a0ae17137fe3082935b3050d87adc503f1c7fd @leto committed Jul 13, 2009
Showing with 6 additions and 5 deletions.
  1. +6 −5 lib/Math/Primality.pm
View
@@ -16,11 +16,12 @@ Math::Primality - Advanced Primality Algorithms using GMP
=head1 VERSION
-Version 0.03_01
+Version 0.03_02
=cut
-our $VERSION = '0.03_01';
+our $VERSION = '0.03_02';
+$VERSION = eval $VERSION;
our @EXPORT_OK = qw/is_pseudoprime is_strong_pseudoprime is_strong_lucas_pseudoprime is_prime next_prime prime_count/;
@@ -30,12 +31,12 @@ our %EXPORT_TAGS = ( all => \@EXPORT_OK );
use Math::Primality qw/:all/;
- my $t1 = is_pseudoprime($x,$base);
- my $t2 = is_strong_pseudoprime($x);
+ my $is_psp = is_pseudoprime($x,$base);
+ my $is_spsp = is_strong_pseudoprime($x);
print "Prime!" if is_prime($outrageously_large_prime);
- my $t3 = next_prime($x);
+ my $next = next_prime($x);
=head1 DESCRIPTION

0 comments on commit 47a0ae1

Please sign in to comment.