We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0449c commit 47e2521Copy full SHA for 47e2521
lib/Type/Int.pod
@@ -38,12 +38,11 @@ Returns the given C<Int> raised to the C<$y> power within modulus C<$mod>.
38
39
=head2 routine is-prime
40
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
+ multi sub is-prime (Int:D $number) returns Bool:D
+ multi method is-prime (Int:D:) returns Bool:D
43
44
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.
+prime based on a probabilistic Miller-Rabin test.
47
48
Returns C<False> if this C<Int> is known not to be a prime.
49
0 commit comments