Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed $tries from signature and docs of is-prime to bring docs in line
with rakudo commit 59cb611af9
  • Loading branch information
dha committed Oct 3, 2015
1 parent 4f0449c commit 47e2521
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/Type/Int.pod
Expand Up @@ -38,12 +38,11 @@ Returns the given C<Int> raised to the C<$y> power within modulus C<$mod>.
=head2 routine is-prime
multi sub is-prime (Int:D $number, Int $tries = 100) returns Bool:D
multi method is-prime (Int:D: Int $tries = 100) returns Bool:D
multi sub is-prime (Int:D $number) returns Bool:D
multi method is-prime (Int:D:) returns Bool:D
Returns C<True> if this C<Int> is known to be a prime, or is likely to be a
prime based on a probabilistic Miller-Rabin test. C<$tries> is the maximal
number of iterations the test is allowed to do.
prime based on a probabilistic Miller-Rabin test.
Returns C<False> if this C<Int> is known not to be a prime.
Expand Down

0 comments on commit 47e2521

Please sign in to comment.