Skip to content

Commit 47e2521

Browse files
committed
Removed $tries from signature and docs of is-prime to bring docs in line
with rakudo commit 59cb611af9
1 parent 4f0449c commit 47e2521

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/Type/Int.pod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ Returns the given C<Int> raised to the C<$y> power within modulus C<$mod>.
3838
3939
=head2 routine is-prime
4040
41-
multi sub is-prime (Int:D $number, Int $tries = 100) returns Bool:D
42-
multi method is-prime (Int:D: Int $tries = 100) returns Bool:D
41+
multi sub is-prime (Int:D $number) returns Bool:D
42+
multi method is-prime (Int:D:) returns Bool:D
4343
4444
Returns C<True> if this C<Int> is known to be a prime, or is likely to be a
45-
prime based on a probabilistic Miller-Rabin test. C<$tries> is the maximal
46-
number of iterations the test is allowed to do.
45+
prime based on a probabilistic Miller-Rabin test.
4746
4847
Returns C<False> if this C<Int> is known not to be a prime.
4948

0 commit comments

Comments
 (0)