Quick fix:
sub RabinMiller { my $p = shift; my $b = 0; my $m = $p - 1; my $t = 20; # The probability of error is .25 ** $t # Probability of error with $t = 20 is lt 10 ** -12. return 0 if ($p % 2 == 0 && $p > 2); .....
In reply to Re: Rabin Miller
by Anonymous Monk
in thread Rabin Miller
by Adam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |