| line |
!l |
l&&!r |
l&&r |
condition |
|
54
|
0 |
4 |
0 |
!defined($ENV{'MPU_NO_MPFR'}) || $ENV{'MPU_NO_MPFR'} != 1 and eval {
do {
require Math::MPFR;
$Math::MPFR::VERSION >= 2.03
}
} |
|
56
|
4 |
0 |
0 |
$_have_MPFR and Math::MPFR::MPFR_VERSION_MAJOR() < 3 |
|
58
|
1191 |
0 |
0 |
$_have_MPFR and scalar @_ == 2 |
|
61
|
0 |
0 |
0 |
Math::MPFR::MPFR_VERSION_MAJOR() == $major and Math::MPFR::MPFR_VERSION_MINOR() < $minor |
|
82
|
0 |
0 |
0 |
defined $_[0] and $_[0] ne '' |
|
111
|
15 |
0 |
0 |
defined $i and defined $f |
|
116
|
0 |
0 |
15 |
defined $i and defined $f |
|
144
|
13 |
0 |
0 |
$n =~ tr[0-9][\000-/:-\377]c and not $n =~ /^\+\d+$/ |
|
146
|
13 |
0 |
0 |
defined $min and $n < $min |
|
147
|
13 |
0 |
0 |
defined $max and $n > $max |
|
169
|
11384 |
0 |
1 |
$strn =~ tr[0-9][\000-/:-\377]c and not $strn =~ /^\+?\d+$/ |
|
177
|
11271 |
1172 |
0 |
ref $_[0] eq 'Math::BigInt' and $_[0]->upgrade |
|
178
|
12425 |
18 |
0 |
defined $min and $_[0] < $min |
|
179
|
12443 |
0 |
0 |
defined $max and $_[0] > $max |
|
194
|
433 |
256 |
496 |
$n <= $poscmp and $n >= $negcmp |
|
197
|
12 |
0 |
0 |
$strn =~ tr[\-0-9][\000-,./:-\377]c and not $strn =~ /^[-+]?\d+$/ |
|
199
|
2 |
1 |
9 |
$n <= $poscmp and $n >= $negcmp |
|
205
|
505 |
692 |
0 |
ref $_[0] and $_[0]->upgrade |
|
213
|
0 |
0 |
0 |
defined $exitsub and &$exitsub($n, $lo, $hi) |
|
253
|
7146 |
568 |
0 |
ref $n eq 'Math::BigInt' and $n <= {sign => '+', value => [709551615, 446744073, 18]} |
|
269
|
12 |
617 |
4763 |
$n % 7 and $n % 11 |
|
|
617 |
315 |
4448 |
$n % 7 and $n % 11 and $n % 13 |
|
|
315 |
1 |
4447 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 |
|
|
1 |
159 |
4288 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 |
|
|
159 |
158 |
4130 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 |
|
|
158 |
157 |
3973 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 |
|
|
157 |
2 |
3971 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 |
|
|
2 |
154 |
3817 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 and $n % 37 |
|
|
154 |
154 |
3663 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 and $n % 37 and $n % 41 |
|
|
154 |
159 |
3504 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 and $n % 37 and $n % 41 and $n % 43 |
|
|
159 |
0 |
3504 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 and $n % 37 and $n % 41 and $n % 43 and $n % 47 |
|
|
0 |
4 |
3500 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 and $n % 37 and $n % 41 and $n % 43 and $n % 47 and $n % 53 |
|
|
4 |
152 |
3348 |
$n % 7 and $n % 11 and $n % 13 and $n % 17 and $n % 19 and $n % 23 and $n % 29 and $n % 31 and $n % 37 and $n % 41 and $n % 43 and $n % 47 and $n % 53 and $n % 59 |
|
287
|
4 |
10 |
653 |
$n % $i and $n % ($i + 6) |
|
|
14 |
4 |
649 |
$n % $i and $n % ($i + 6) and $n % ($i + 10) |
|
|
14 |
12 |
637 |
$n % $i and $n % ($i + 6) and $n % ($i + 10) and $n % ($i + 12) |
|
|
16 |
6 |
631 |
$n % $i and $n % ($i + 6) and $n % ($i + 10) and $n % ($i + 12) and $n % ($i + 16) |
|
|
18 |
3 |
628 |
$n % $i and $n % ($i + 6) and $n % ($i + 10) and $n % ($i + 12) and $n % ($i + 16) and $n % ($i + 18) |
|
|
9 |
3 |
625 |
$n % $i and $n % ($i + 6) and $n % ($i + 10) and $n % ($i + 12) and $n % ($i + 16) and $n % ($i + 18) and $n % ($i + 22) |
|
|
6 |
1 |
624 |
$n % $i and $n % ($i + 6) and $n % ($i + 10) and $n % ($i + 12) and $n % ($i + 16) and $n % ($i + 18) and $n % ($i + 22) and $n % ($i + 28) |
|
324
|
0 |
3378 |
4 |
defined $n and int $n < 0 |
|
331
|
551 |
564 |
1277 |
$n % 2 and $n % 3 |
|
|
564 |
189 |
1088 |
$n % 2 and $n % 3 and $n % 5 |
|
345
|
0 |
23 |
0 |
defined $n and int $n < 0 |
|
356
|
0 |
5 |
0 |
defined $n and $n < 2 |
|
429
|
547 |
0 |
0 |
ref $end and $end <= {sign => '+', value => [709551615, 446744073, 18]} |
|
503
|
0 |
0 |
0 |
$low <= 2 and $high >= 2 |
|
504
|
0 |
0 |
0 |
$low <= 3 and $high >= 3 |
|
505
|
0 |
0 |
0 |
$low <= 5 and $high >= 5 |
|
513
|
0 |
0 |
0 |
_miller_rabin_2($p) and is_extra_strong_lucas_pseudoprime($p) |
|
534
|
11 |
0 |
0 |
$Math::Prime::Util::_GMPfunc{'sieve_primes'} and $Math::Prime::Util::GMP::VERSION >= 0.34 |
|
539
|
10 |
0 |
0 |
$low > 1000000000000 and $high - $low < int $low / 1000000 |
|
543
|
8 |
0 |
2 |
$low <= 2 and $high >= 2 |
|
544
|
8 |
0 |
2 |
$low <= 3 and $high >= 3 |
|
545
|
8 |
0 |
2 |
$low <= 5 and $high >= 5 |
|
574
|
0 |
0 |
0 |
$n <= 2 and $n + $width - 1 >= 2 |
|
575
|
0 |
0 |
0 |
$n <= 3 and $n + $width - 1 >= 3 |
|
576
|
0 |
0 |
0 |
$n <= 4 and $n + $width - 1 >= 4 |
|
|
0 |
0 |
0 |
$n <= 4 and $n + $width - 1 >= 4 and $depth < 2 |
|
621
|
1 |
10 |
1 |
$hi - $lo < 20000 and $lo < 18446744073709551615 |
|
644
|
2928 |
3111 |
10579 |
($_ + $c) % 3 and ($_ + $c) % 5 |
|
710
|
0 |
0 |
0 |
($k & 3) == 1 and is_prime($k + 1 >> 1) |
|
722
|
0 |
0 |
0 |
@$L and $L->[0] < $low |
|
723
|
0 |
0 |
0 |
@$L and $L->[-1] > $high |
|
749
|
12 |
805 |
5 |
ref $n ne 'Math::BigInt' and $n >= 18446744073709551557 |
|
753
|
805 |
12 |
0 |
$n > 4294967295 and Math::Prime::Util::prime_get_config()->{'gmp'} |
|
758
|
60 |
54 |
12 |
Math::BigInt::bgcd($n, {sign => '+', value => [568529303, 51702675, 261944]})->is_one and _miller_rabin_2($n) |
|
|
54 |
0 |
12 |
Math::BigInt::bgcd($n, {sign => '+', value => [568529303, 51702675, 261944]})->is_one and _miller_rabin_2($n) and is_extra_strong_lucas_pseudoprime($n) |
|
763
|
633 |
2586 |
805 |
$n % 7 and _is_prime7($n) |
|
774
|
154 |
3 |
0 |
$n > 4294967295 and Math::Prime::Util::prime_get_config()->{'gmp'} |
|
779
|
58 |
39 |
4 |
Math::BigInt::bgcd($n, {sign => '+', value => [568529303, 51702675, 261944]})->is_one and _miller_rabin_2($n) |
|
|
39 |
1 |
3 |
Math::BigInt::bgcd($n, {sign => '+', value => [568529303, 51702675, 261944]})->is_one and _miller_rabin_2($n) and is_extra_strong_lucas_pseudoprime($n) |
|
784
|
464 |
2464 |
154 |
$n % 7 and _is_prime7($n) |
|
912
|
3 |
1 |
0 |
ref $totient eq 'Math::BigInt' and $totient->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
944
|
0 |
0 |
8 |
$n % 4 && $n % 9 && $n % 25 && $n % 49 |
|
|
0 |
8 |
0 |
$n >= 49 and not $n % 4 && $n % 9 && $n % 25 && $n % 49 |
|
1078
|
2 |
1 |
0 |
$pe[0][0] == 2 and $pe[0][1] > 2 |
|
1097
|
0 |
0 |
0 |
$n % 4 and $n % 9 |
|
|
0 |
0 |
0 |
$n % 4 and $n % 9 and $n % 25 |
|
|
0 |
0 |
0 |
$n % 4 and $n % 9 and $n % 25 and $n % 49 |
|
|
0 |
0 |
0 |
$n % 4 and $n % 9 and $n % 25 and $n % 49 and $n % 121 |
|
1148
|
0 |
0 |
0 |
$n % 4 and $n % 9 |
|
|
0 |
0 |
0 |
$n % 4 and $n % 9 and $n % 25 |
|
|
0 |
0 |
0 |
$n % 4 and $n % 9 and $n % 25 and $n % 49 |
|
|
0 |
0 |
0 |
$n % 4 and $n % 9 and $n % 25 and $n % 49 and $n % 121 |
|
1196
|
0 |
0 |
0 |
defined $p and int $p < 0 |
|
1204
|
0 |
0 |
0 |
$nfac == $pm1 and $p % $n != 1 |
|
1234
|
0 |
0 |
0 |
defined $k && $k == 0 |
|
1237
|
1 |
4 |
831 |
defined $k and ref $k eq 'CODE' |
|
1265
|
0 |
3 |
0 |
ref $n and ref $n ne 'Math::BigInt' |
|
1456
|
13 |
1 |
6 |
$low <= 2 and $high >= 2 |
|
1499
|
10 |
0 |
0 |
$n > 425656284035217743 and ref $n ne 'Math::BigFloat' |
|
2145
|
0 |
0 |
0 |
$n > 59 and $n <= 1092 |
|
2167
|
0 |
0 |
0 |
ref $nth and $nth->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
2178
|
0 |
0 |
0 |
ref $nth and $nth->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
2249
|
0 |
0 |
0 |
$low <= 2 and $high >= 29505444491 |
|
2258
|
0 |
0 |
0 |
not Math::Prime::Util::prime_get_config()->{'xs'} || ref $sum and 1 and $high - $low > 1000000 |
|
2266
|
0 |
0 |
0 |
$high < 600000000000000 && Math::Prime::Util::prime_get_config()->{'xs'} |
|
2267
|
0 |
0 |
0 |
$xssum && $high > 50000000000000 |
|
2422
|
2 |
0 |
1 |
abs $x < 9223372036854775807 and abs $y < 9223372036854775807 |
|
2453
|
7 |
0 |
0 |
$Math::Prime::Util::_GMPfunc{'chinese'} and $Math::Prime::Util::GMP::VERSION >= 0.42 |
|
2457
|
0 |
0 |
0 |
ref $sum and $sum->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
2463
|
2 |
12 |
0 |
not ref $ai and abs $ai > 9223372036854775807 || 0 |
|
2464
|
2 |
12 |
0 |
not ref $ni and abs $ni > 9223372036854775807 || 0 |
|
2477
|
4 |
3 |
0 |
$g != 1 and $sum % $g != $ai % $g |
|
2481
|
2 |
1 |
4 |
not ref $lcm and $lcm * $s > 18446744073709551615 |
|
2500
|
1 |
5 |
1 |
ref $sum and $sum->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
2506
|
0 |
0 |
0 |
defined $hi and defined $lo |
|
2537
|
14065 |
0 |
4 |
$prod->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 and $prod->bcmp({sign => '-', value => [854775807, 223372036, 9]}) > 0 |
|
2574
|
0 |
0 |
0 |
not defined $base and $n =~ s/^0b// |
|
2575
|
0 |
0 |
0 |
not defined $base and $n =~ s/^0x// |
|
2666
|
0 |
0 |
0 |
$n->is_odd and not $a->copy->bmodpow($n - 1 >> 1, $n)->is_one |
|
2681
|
18987 |
0 |
432 |
$n < 18446744073709551615 and $a >= 0 |
|
|
18987 |
0 |
432 |
$n < 18446744073709551615 and $a >= 0 and $a < 18446744073709551615 |
|
|
0 |
0 |
432 |
$n < 18446744073709551615 and $a >= 0 and $a < 18446744073709551615 and $b >= 0 |
|
|
0 |
0 |
432 |
$n < 18446744073709551615 and $a >= 0 and $a < 18446744073709551615 and $b >= 0 and $b < 18446744073709551615 |
|
2690
|
7368 |
0 |
0 |
$n < 18446744073709551615 and $a > 0 |
|
|
7368 |
0 |
0 |
$n < 18446744073709551615 and $a > 0 and $a < 18446744073709551615 |
|
|
0 |
0 |
0 |
$n < 18446744073709551615 and $a > 0 and $a < 18446744073709551615 and $b > 0 |
|
|
0 |
0 |
0 |
$n < 18446744073709551615 and $a > 0 and $a < 18446744073709551615 and $b > 0 and $b < 18446744073709551615 |
|
2737
|
605 |
589 |
0 |
defined $refp and not ref $refp |
|
2739
|
1190 |
0 |
4 |
abs $n <= 3 and not $a |
|
2741
|
1190 |
0 |
0 |
$Math::Prime::Util::_GMPfunc{'is_power'} and $Math::Prime::Util::GMP::VERSION >= 0.42 || $Math::Prime::Util::GMP::VERSION >= 0.28 && $n > 0 |
|
2758
|
137 |
1053 |
0 |
defined $a and $a != 0 |
|
2760
|
0 |
0 |
0 |
$n < 0 and $a % 2 == 0 |
|
2797
|
412 |
131 |
128 |
not $next and defined $refp |
|
2817
|
0 |
0 |
0 |
defined $refp and not ref $refp |
|
2824
|
0 |
0 |
0 |
ref $r and $r->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
2833
|
0 |
0 |
0 |
defined $refp and not ref $refp |
|
2843
|
0 |
0 |
0 |
$n <= 4294967296 and $k <= 4294967296 |
|
2906
|
3 |
0 |
0 |
$len >= 0 and $len != scalar @d |
|
2929
|
0 |
0 |
0 |
$base == 2 and $len < 0 |
|
2930
|
0 |
0 |
0 |
$base == 8 and $len < 0 |
|
2931
|
0 |
0 |
0 |
$base == 16 and $len < 0 |
|
2941
|
1 |
0 |
0 |
$base == 10 and ref($r) =~ /^Math::/ |
|
2943
|
1 |
0 |
0 |
ref $r and not ref($r) =~ /^Math::/ |
|
2996
|
0 |
0 |
0 |
defined $refp and not ref $refp |
|
3021
|
0 |
103 |
0 |
$n > 1 and $n % 2 |
|
3143
|
21 |
0 |
0 |
$sprec <= 23 and $n > 54 |
|
|
21 |
0 |
0 |
$sprec <= 30 and $n > 348 |
|
|
0 |
21 |
0 |
$sprec <= 40 and $n > 2002 |
|
|
0 |
21 |
0 |
$sprec <= 50 and $n > 12644 |
|
3180
|
0 |
0 |
10 |
$base > 1 and $base != $n - 1 |
|
3200
|
0 |
0 |
0 |
$base > 1 and $base != $n - 1 |
|
3301
|
572 |
2 |
0 |
$base == $n - 1 and $base % 2 == 1 |
|
3381
|
0 |
0 |
0 |
$v % 2 == 1 and $a % 8 == 3 || $a % 8 == 5 |
|
3388
|
490 |
430 |
2 |
ref $b eq 'Math::BigInt' and $b <= {sign => '+', value => [709551615, 446744073, 18]} |
|
3389
|
921 |
1 |
0 |
ref $a eq 'Math::BigInt' and $a <= {sign => '+', value => [709551615, 446744073, 18]} |
|
3395
|
234 |
103 |
241 |
$v % 2 == 1 and $b % 8 == 3 || $b % 8 == 5 |
|
3397
|
953 |
162 |
150 |
$a % 4 == 3 and $b % 4 == 3 |
|
3400
|
421 |
7 |
837 |
ref $a eq 'Math::BigInt' and $a <= {sign => '+', value => [709551615, 446744073, 18]} |
|
|
428 |
429 |
408 |
ref $a eq 'Math::BigInt' and $a <= {sign => '+', value => [709551615, 446744073, 18]} and ref $b eq 'Math::BigInt' |
|
|
436 |
0 |
408 |
ref $a eq 'Math::BigInt' and $a <= {sign => '+', value => [709551615, 446744073, 18]} and ref $b eq 'Math::BigInt' and $b <= {sign => '+', value => [709551615, 446744073, 18]} |
|
3438
|
0 |
1 |
0 |
$k < 0 and $k > $n |
|
3448
|
0 |
1 |
0 |
$r > 0 and not $k & 1 |
|
3449
|
0 |
0 |
1 |
$r > 0 and $r <= 9223372036854775807 |
|
3495
|
809 |
0 |
0 |
defined &Math::Prime::Util::GMP::factorial and Math::Prime::Util::prime_get_config()->{'gmp'} |
|
3563
|
0 |
0 |
0 |
$Math::Prime::Util::_GMPfunc{'znorder'} and $Math::Prime::Util::_GMPfunc{'totient'} |
|
3572
|
0 |
0 |
0 |
$s % 2 == 0 and &Math::Prime::Util::powmod($a, $s / 2, $n) == 1 |
|
3573
|
0 |
0 |
0 |
$s % 3 == 0 and &Math::Prime::Util::powmod($a, $s / 3, $n) == 1 |
|
3574
|
0 |
0 |
0 |
$s % 5 == 0 and &Math::Prime::Util::powmod($a, $s / 5, $n) == 1 |
|
3577
|
0 |
0 |
0 |
$fp > 5 and &Math::Prime::Util::powmod($a, $s / $fp, $n) == 1 |
|
3704
|
0 |
0 |
1 |
defined $n and $n > 1000 |
|
3707
|
1 |
0 |
0 |
ref $x and $x->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
3708
|
0 |
0 |
1 |
$x > 0 and $g->copy->bmodpow($x, $p) == $a |
|
3709
|
0 |
0 |
0 |
$x == 0 and $_verbose |
|
3710
|
0 |
0 |
0 |
$x > 0 and $_verbose > 1 |
|
3714
|
1 |
0 |
0 |
ref $x and $x->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
3764
|
32 |
0 |
0 |
$gcd > 1 and $gcd != $n |
|
3785
|
476 |
0 |
0 |
$gcd > 1 and $gcd != $n |
|
3803
|
195 |
0 |
0 |
$Math::Prime::Util::_GMPfunc{'lucas_sequence'} and $Math::Prime::Util::GMP::VERSION >= 0.3 |
|
3863
|
0 |
0 |
181 |
$P > {sign => '+', value => [2]} and not $Dinverse->is_nan |
|
4054
|
0 |
6 |
19 |
$k > 0 and not $k % 2 |
|
4088
|
181 |
0 |
2849 |
$k->is_even and not $k->is_zero |
|
4095
|
98 |
8 |
75 |
$U == 0 and $V == {sign => '+', value => [2]} || $V == $n - {sign => '+', value => [2]} |
|
4171
|
0 |
0 |
0 |
$ra == 1 && $rb == $n - 1 |
|
4187
|
0 |
0 |
0 |
$a == 20 and _is_perfect_square($n) |
|
4191
|
1 |
0 |
0 |
$temp1 != 1 and $temp1 != $n |
|
4220
|
1 |
0 |
0 |
$s == 0 && $t == $temp1 |
|
4249
|
2 |
0 |
0 |
$restrict > 2 and $n % 2 == 0 |
|
4264
|
0 |
0 |
0 |
$S[0] == $A and $S[2] == $B |
|
|
0 |
0 |
0 |
$S[0] == $A and $S[2] == $B and $S[3] == $B |
|
|
0 |
0 |
0 |
$S[0] == $A and $S[2] == $B and $S[3] == $B and $S[5] == $C |
|
|
0 |
0 |
0 |
$S[0] == $A and $S[2] == $B and $S[3] == $B and $S[5] == $C and $B != 3 |
|
|
0 |
0 |
0 |
$S[0] == $A and $S[2] == $B and $S[3] == $B and $S[5] == $C and $B != 3 and addmod(mulmod($B2, $B, $n), $n - $B, $n) == 1 |
|
4266
|
0 |
0 |
0 |
$j == 0 and $n != 23 |
|
|
0 |
0 |
0 |
$j == 0 and $n != 23 and $restrict > 2 |
|
4267
|
0 |
0 |
0 |
$S[0] == 1 and $S[2] == 3 |
|
|
0 |
0 |
0 |
$S[0] == 1 and $S[2] == 3 and $S[3] == 3 |
|
|
0 |
0 |
0 |
$S[0] == 1 and $S[2] == 3 and $S[3] == 3 and $S[5] == 2 |
|
4268
|
0 |
0 |
0 |
$S[0] == 0 and $S[5] == $n - 1 |
|
|
0 |
0 |
0 |
$S[0] == 0 and $S[5] == $n - 1 and $S[2] != $S[3] |
|
|
0 |
0 |
0 |
$S[0] == 0 and $S[5] == $n - 1 and $S[2] != $S[3] and addmod($S[2], $S[3], $n) == $n - 3 |
|
|
0 |
0 |
0 |
$S[0] == 0 and $S[5] == $n - 1 and $S[2] != $S[3] and addmod($S[2], $S[3], $n) == $n - 3 and mulmod(addmod($S[2], $n - $S[3], $n), addmod($S[2], $n - $S[3], $n), $n) == $n - 23 % $n |
|
4282
|
1 |
0 |
0 |
defined $P and defined $Q |
|
4289
|
0 |
0 |
1 |
$P == 0 and $Q == 0 |
|
4299
|
1 |
0 |
0 |
$P == 10001 and _is_perfect_square($n) |
|
4317
|
1 |
0 |
0 |
$U == 0 and $V == $Vcomp |
|
4339
|
0 |
0 |
0 |
$p > 3 and $p % 4 == 3 |
|
|
0 |
0 |
0 |
$p > 3 and $p % 4 == 3 and $p < 9223372036854775807 |
|
|
0 |
0 |
0 |
$p > 3 and $p % 4 == 3 and $p < 9223372036854775807 and is_prob_prime($p * 2 + 1) |
|
4503
|
0 |
19 |
1 |
ref $_[0] and $_[0]->upgrade |
|
4515
|
0 |
20 |
0 |
$] >= 5.008 and $_[0] <= {sign => '+', value => [709551615, 446744073, 18]} |
|
4518
|
0 |
37 |
0 |
$_[0] > 1 and _is_prime7($_[0]) |
|
4537
|
152 |
0 |
61 |
$n > 400000000 and $_primes_small[-1] < 99000 |
|
|
152 |
60 |
1 |
$n > 400000000 and $_primes_small[-1] < 99000 and !defined($limit) || $limit > $_primes_small[-1] |
|
4562
|
18 |
21 |
0 |
$start_idx <= $#_primes_small and $_primes_small[$start_idx] > $limit |
|
4603
|
864 |
0 |
0 |
$n->copy->bmod($f)->is_zero and $f->bacmp($limit) <= 0 |
|
4663
|
32 |
16 |
10 |
ref $n eq 'Math::BigInt' and $n <= {sign => '+', value => [709551615, 446744073, 18]} |
|
4665
|
34 |
24 |
24 |
$n >= $lim * $lim and not _is_prime7($n) |
|
4676
|
11 |
0 |
13 |
ref $n eq 'Math::BigInt' and $n <= {sign => '+', value => [709551615, 446744073, 18]} |
|
4854
|
0 |
0 |
0 |
$f != 1 and $r-- != 0 |
|
4870
|
1643 |
0 |
10 |
$f != 1 and $f != $n |
|
4879
|
11586 |
0 |
11 |
$f != 1 and $f != $n |
|
4965
|
50 |
0 |
0 |
$pc_beg > 2 and ($j - 1) % 256 |
|
4999
|
0 |
0 |
2 |
$f->is_one and $B2 > $B1 |
|
5246
|
1 |
0 |
4 |
$f == 1 and $B2 > $B1 |
|
5350
|
3 |
7 |
2 |
@factors and $p == $factors[0] |
|
5448
|
0 |
0 |
0 |
ref $n and $n->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
5516
|
6 |
12 |
0 |
$x > 0 and _MPFR_available() |
|
5530
|
18 |
0 |
0 |
defined $bignum::VERSION and ref $x ne 'Math::BigFloat' |
|
5611
|
0 |
26 |
0 |
$x >= 1 and _MPFR_available() |
|
5640
|
10 |
0 |
15 |
ref $x and not defined $bignum::VERSION |
|
|
10 |
15 |
0 |
ref $x and not defined $bignum::VERSION and $x <= 1e+16 |
|
5641
|
25 |
0 |
0 |
defined $bignum::VERSION and ref $x ne 'Math::BigFloat' |
|
5642
|
10 |
15 |
0 |
ref $x and ref $x ne 'Math::BigFloat' |
|
|
25 |
0 |
0 |
ref $x and ref $x ne 'Math::BigFloat' and $x > 1e+16 |
|
5802
|
4 |
144 |
8 |
$x == int $x and defined $_Riemann_Zeta_Table[int($x) - 2] |
|
6079
|
31 |
941 |
0 |
!$have_xdigits || $digits > 60 and _MPFR_available() |
|
6093
|
971 |
0 |
0 |
$have_bigint_gmp and $digits > 100 |
|
6183
|
0 |
0 |
0 |
$primeq != -1 and $primeq != 0 |
|
6186
|
1 |
0 |
0 |
$n == 0 and $minn <= 1 |
|
6222
|
5 |
0 |
0 |
$primeq == 0 and &Math::Prime::Util::vecany(sub {
is_prime($_);
}
, @a[0 .. $k]) |
|
6223
|
5 |
0 |
0 |
$primeq == 2 and &Math::Prime::Util::vecany(sub {
not is_prime($_);
}
, @a[0 .. $k]) |
|
6254
|
1 |
1 |
1 |
$i >= 0 and $c[$i] >= $n - ($k - $i) |
|
6290
|
1 |
2 |
1 |
$j < $k and $c[$j] > $c[$j - 1] |
|
6575
|
0 |
1 |
0 |
defined $b and int $b < 0 |
|
6587
|
0 |
1 |
0 |
ref $n and $n->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
|
6593
|
0 |
1 |
0 |
defined $b and int $b < 0 |
|
6675
|
0 |
1 |
0 |
ref $n and $n->bacmp({sign => '+', value => [709551615, 446744073, 18]}) <= 0 |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
54
|
4 |
0 |
0 |
!defined($ENV{'MPU_NO_MPFR'}) || $ENV{'MPU_NO_MPFR'} != 1 |
|
124
|
0 |
0 |
0 |
defined $bignum::VERSION or ref($_[0]) =~ /^Math::Big/ |
|
144
|
0 |
0 |
13 |
$n eq '' or $n =~ tr[0-9][\000-/:-\377]c and not $n =~ /^\+\d+$/ |
|
149
|
13 |
0 |
0 |
$n < 18446744073709551615 or int $n eq '18446744073709551615' |
|
161
|
0 |
0 |
1059 |
$n->sign ne '+' or not $n->is_int |
|
169
|
0 |
2 |
11383 |
$strn eq '' or $strn =~ tr[0-9][\000-/:-\377]c and not $strn =~ /^\+?\d+$/ |
|
197
|
0 |
0 |
12 |
$strn eq '' or $strn =~ tr[\-0-9][\000-,./:-\377]c and not $strn =~ /^[-+]?\d+$/ |
|
330
|
37 |
22 |
9 |
$n == 2 || $n == 3 || $n == 5 |
|
451
|
536 |
0 |
0 |
not defined $limit or $sqlimit < $limit |
|
529
|
6 |
0 |
157 |
$low > $high or $high < 2 |
|
539
|
1 |
0 |
10 |
ref $low eq 'Math::BigInt' or ref $high eq 'Math::BigInt' |
|
|
1 |
0 |
10 |
ref $low eq 'Math::BigInt' or ref $high eq 'Math::BigInt' or $low > 1000000000000 and $high - $low < int $low / 1000000 |
|
583
|
0 |
0 |
0 |
$depth < 3 or $_ % 3 |
|
719
|
0 |
0 |
0 |
$low > $high or $high < 2 |
|
1050
|
0 |
0 |
0 |
$k < 1 or $n < 1 |
|
1053
|
0 |
0 |
0 |
$m == 0 or $k == $g |
|
1096
|
0 |
0 |
0 |
$n < 561 or $n % 2 == 0 |
|
1138
|
0 |
0 |
0 |
$pe->[1] > 1 or ($n - 1) % ($pe->[0] - 1) != 0 |
|
1186
|
0 |
0 |
0 |
$k == 0 or $k >= $spf |
|
1246
|
1 |
2 |
2 |
not defined $k or _validate_num($k) |
|
|
3 |
2 |
0 |
not defined $k or _validate_num($k) or _validate_positive_integer($k) |
|
1387
|
0 |
498 |
7929 |
not defined $sref or $send >= length $$sref |
|
1463
|
1 |
0 |
17 |
ref $low eq 'Math::BigInt' or ref $high eq 'Math::BigInt' |
|
|
1 |
1 |
16 |
ref $low eq 'Math::BigInt' or ref $high eq 'Math::BigInt' or $high - $low < 10 |
|
|
1 |
0 |
16 |
ref $low eq 'Math::BigInt' or ref $high eq 'Math::BigInt' or $high - $low < 10 or $high - $low < int $low / 100000000000 |
|
1549
|
0 |
1 |
0 |
$n > 425656284035217743 or $n > 35184372088832 |
|
1582
|
1 |
2 |
0 |
$n > 425656284035217743 or $n > 35184372088832 |
|
1604
|
0 |
0 |
0 |
$n > 425656284035217743 or $n > 35184372088832 |
|
1630
|
0 |
0 |
0 |
$n > 425656284035217743 or $n > 35184372088832 |
|
1662
|
0 |
0 |
1 |
ref $n eq 'Math::BigInt' or $n >= 425656284035217743 |
|
1737
|
5 |
0 |
0 |
$x < 1e+36 or _MPFR_available() |
|
|
5 |
0 |
0 |
$x < 1e+36 or _MPFR_available() or $Math::Prime::Util::_GMPfunc{'riemannr'} |
|
1770
|
8 |
0 |
2 |
ref $x eq 'Math::BigInt' or ref $_[0] eq 'Math::BigInt' |
|
1787
|
7 |
0 |
2 |
$x < 1.4e+25 or Math::Prime::Util::prime_get_config()->{'assume_rh'} |
|
1804
|
0 |
0 |
0 |
defined $bignum::VERSION || ref($x) =~ /^Math::Big/ |
|
1859
|
0 |
0 |
0 |
defined $bignum::VERSION || ref($x) =~ /^Math::Big/ |
|
1919
|
8 |
0 |
2 |
ref $x eq 'Math::BigInt' or ref $_[0] eq 'Math::BigInt' |
|
1937
|
8 |
0 |
0 |
$x < 5.5e+25 or Math::Prime::Util::prime_get_config()->{'assume_rh'} |
|
1973
|
0 |
0 |
0 |
defined $bignum::VERSION || ref($x) =~ /^Math::Big/ |
|
2007
|
0 |
0 |
0 |
defined $bignum::VERSION || ref($x) =~ /^Math::Big/ |
|
2141
|
0 |
0 |
0 |
ref $n or $n > 1.27e+16 |
|
2258
|
0 |
0 |
0 |
Math::Prime::Util::prime_get_config()->{'xs'} || ref $sum |
|
2391
|
1 |
12 |
0 |
$_ < 2147483647 && !ref($_) || ref $_ eq 'Math::BigInt' |
|
2400
|
3 |
9 |
0 |
$_ < 2147483647 && !ref($_) || ref $_ eq 'Math::BigInt' |
|
2520
|
27 |
0 |
10 |
$sum > 18446744073709551365 or $sum < $neglim |
|
2576
|
0 |
0 |
0 |
not defined $base or $base == 10 |
|
2592
|
0 |
0 |
4 |
$n == 0 or $a == 0 |
|
2597
|
0 |
0 |
0 |
not defined $invmod or $invmod->is_nan |
|
2628
|
0 |
0 |
1 |
$n <= 2 or $a <= 1 |
|
2741
|
0 |
0 |
0 |
$Math::Prime::Util::GMP::VERSION >= 0.42 || $Math::Prime::Util::GMP::VERSION >= 0.28 && $n > 0 |
|
2865
|
0 |
0 |
131 |
$n < 2 or $k < 2 |
|
3049
|
0 |
2 |
103 |
$n < 0 or $n & 1 |
|
3061
|
0 |
0 |
518 |
$n == 0 or $m == 0 |
|
|
0 |
0 |
518 |
$n == 0 or $m == 0 or $m > $n |
|
3063
|
48 |
465 |
5 |
$type == 1 or $type == 2 |
|
|
513 |
5 |
0 |
$type == 1 or $type == 2 or $type == 3 |
|
3143
|
0 |
0 |
21 |
$sprec <= 23 and $n > 54 or $sprec <= 30 and $n > 348 |
|
|
0 |
0 |
21 |
$sprec <= 23 and $n > 54 or $sprec <= 30 and $n > 348 or $sprec <= 40 and $n > 2002 |
|
|
0 |
0 |
21 |
$sprec <= 23 and $n > 54 or $sprec <= 30 and $n > 348 or $sprec <= 40 and $n > 2002 or $sprec <= 50 and $n > 12644 |
|
3222
|
0 |
0 |
0 |
$nmod8 == 1 || $nmod8 == 7 |
|
3223
|
0 |
0 |
0 |
$nmod8 == 1 || $nmod8 == 3 || $nmod8 == 5 |
|
3242
|
56 |
67 |
443 |
$x->is_one or $x->bcmp($nm1) == 0 |
|
3263
|
5 |
5 |
3196 |
$x == 1 or $x == $nm1 |
|
3271
|
0 |
5 |
17 |
$x == 1 or $x == $nm1 |
|
3301
|
0 |
0 |
574 |
$base == 0 or $base == $n - 1 and $base % 2 == 1 |
|
3323
|
33 |
47 |
81 |
$x->is_one or $x->bcmp($nminus1) == 0 |
|
3344
|
36 |
30 |
330 |
$x == 1 or $x == $n - 1 |
|
3355
|
1 |
2 |
3 |
$x == 1 or $x == $n - 1 |
|
3381
|
0 |
0 |
0 |
$a % 8 == 3 || $a % 8 == 5 |
|
3395
|
137 |
139 |
68 |
$b % 8 == 3 || $b % 8 == 5 |
|
3437
|
0 |
0 |
5234 |
$k < 0 or $k > $n |
|
3539
|
0 |
10 |
167 |
$mc == 0 or $mc == 1 |
|
|
10 |
0 |
167 |
$mc == 0 or $mc == 1 or $mc == 4 |
|
|
10 |
13 |
154 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 |
|
|
13 |
0 |
154 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 |
|
|
13 |
4 |
150 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 |
|
|
4 |
17 |
133 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 or $mc == 25 |
|
3546
|
0 |
0 |
38 |
$mc == 0 or $mc == 1 |
|
|
0 |
0 |
38 |
$mc == 0 or $mc == 1 or $mc == 4 |
|
|
0 |
0 |
38 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 |
|
|
0 |
0 |
38 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 |
|
|
0 |
4 |
34 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 |
|
|
4 |
4 |
30 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 or $mc == 25 |
|
3558
|
0 |
0 |
0 |
$a < 0 or $a >= $n |
|
3626
|
0 |
0 |
2 |
not defined $limit or $limit > $p |
|
3697
|
0 |
0 |
2 |
$a == 1 or $g == 0 |
|
|
0 |
0 |
2 |
$a == 1 or $g == 0 or $p < 2 |
|
4032
|
0 |
0 |
5 |
$n % 2 == 0 or _is_perfect_square($n) |
|
4046
|
0 |
0 |
6 |
$n % 2 == 0 or _is_perfect_square($n) |
|
4077
|
0 |
0 |
181 |
$n % 2 == 0 or _is_perfect_square($n) |
|
4095
|
21 |
62 |
0 |
$V == {sign => '+', value => [2]} || $V == $n - {sign => '+', value => [2]} |
|
4109
|
0 |
0 |
22 |
$n % 2 == 0 or _is_perfect_square($n) |
|
4135
|
6 |
13 |
3 |
$V == 2 or $V == $n - $TWO |
|
4184
|
0 |
0 |
0 |
$a == 2 or $a == 4 |
|
|
0 |
0 |
0 |
$a == 2 or $a == 4 or $a == 7 |
|
|
0 |
0 |
0 |
$a == 2 or $a == 4 or $a == 7 or $a == 8 |
|
|
0 |
0 |
0 |
$a == 2 or $a == 4 or $a == 7 or $a == 8 or $a == 10 |
|
|
0 |
0 |
0 |
$a == 2 or $a == 4 or $a == 7 or $a == 8 or $a == 10 or $a == 14 |
|
|
0 |
0 |
0 |
$a == 2 or $a == 4 or $a == 7 or $a == 8 or $a == 10 or $a == 14 or $a == 16 |
|
|
0 |
0 |
0 |
$a == 2 or $a == 4 or $a == 7 or $a == 8 or $a == 10 or $a == 14 or $a == 16 or $a == 18 |
|
4187
|
0 |
0 |
0 |
$j == 0 or $a == 20 and _is_perfect_square($n) |
|
4296
|
0 |
0 |
1 |
$P >= $n or $Du >= $n |
|
4306
|
0 |
0 |
1 |
$n <= $Du or $n <= abs $Q |
|
|
0 |
0 |
1 |
$n <= $Du or $n <= abs $Q or $n <= abs $P |
|
4431
|
3 |
2 |
7 |
$n < 2 or is_power($n) |
|
4537
|
0 |
1 |
60 |
!defined($limit) || $limit > $_primes_small[-1] |
|
4546
|
0 |
0 |
39 |
not defined $limit or $limit > $newlim |
|
4567
|
0 |
142 |
71 |
not defined $limit or $limit > $newlim |
|
4694
|
0 |
0 |
59 |
$f == 1 or $f == $n |
|
4771
|
0 |
0 |
1 |
$f == 1 or $f == $n |
|
4858
|
0 |
0 |
0 |
$f == 1 or $f == $n |
|
4977
|
0 |
2 |
0 |
not $f->is_one or $pc_end >= $B1 |
|
5030
|
2 |
0 |
0 |
not $f->is_one or $pc_end >= $B2 |
|
5061
|
0 |
0 |
2 |
$mc == 0 or $mc == 1 |
|
|
0 |
1 |
1 |
$mc == 0 or $mc == 1 or $mc == 4 |
|
|
1 |
0 |
1 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 |
|
|
1 |
1 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 |
|
|
1 |
0 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 |
|
|
1 |
0 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 or $mc == 25 |
|
5074
|
0 |
0 |
3 |
$mc == 0 or $mc == 1 |
|
|
0 |
0 |
3 |
$mc == 0 or $mc == 1 or $mc == 4 |
|
|
0 |
0 |
3 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 |
|
|
0 |
1 |
2 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 |
|
|
1 |
0 |
2 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 |
|
|
1 |
0 |
2 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 or $mc == 25 |
|
5100
|
0 |
0 |
1 |
$mc == 0 or $mc == 1 |
|
|
0 |
1 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 |
|
|
1 |
0 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 |
|
|
1 |
0 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 |
|
|
0 |
0 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 |
|
|
0 |
0 |
0 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 or $mc == 25 |
|
5118
|
0 |
0 |
2 |
$mc == 0 or $mc == 1 |
|
|
0 |
0 |
2 |
$mc == 0 or $mc == 1 or $mc == 4 |
|
|
0 |
0 |
2 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 |
|
|
0 |
0 |
2 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 |
|
|
0 |
1 |
1 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 |
|
|
1 |
0 |
1 |
$mc == 0 or $mc == 1 or $mc == 4 or $mc == 9 or $mc == 16 or $mc == 17 or $mc == 25 |
|
5303
|
18 |
74 |
156 |
$i > $m + $m or is_prime($m + $m - $i) |
|
5394
|
0 |
0 |
0 |
$n < 0 or $n % 4 == 1 |
|
|
0 |
0 |
0 |
$n < 0 or $n % 4 == 1 or $n % 4 == 2 |
|
5497
|
4 |
0 |
0 |
$n < 100000 or not Math::Prime::Util::prime_get_config()->{'xs'} |
|
5614
|
0 |
0 |
0 |
defined $bignum::VERSION or ref($x) =~ /^Math::Big/ |
|
5796
|
0 |
4 |
156 |
defined $bignum::VERSION or ref($x) =~ /^Math::Big/ |
|
5935
|
0 |
4 |
10 |
defined $bignum::VERSION or ref($x) =~ /^Math::Big/ |
|
6079
|
1 |
940 |
31 |
!$have_xdigits || $digits > 60 |
|
6093
|
1 |
0 |
971 |
not $have_xdigits or $have_bigint_gmp and $digits > 100 |
|
6187
|
0 |
0 |
1 |
$n < $minn or $minn > $maxn |
|
|
0 |
0 |
1 |
$n < $minn or $minn > $maxn or $mina > $maxa |
|
|
0 |
0 |
1 |
$n < $minn or $minn > $maxn or $mina > $maxa or $maxn <= 0 |
|
|
0 |
0 |
1 |
$n < $minn or $minn > $maxn or $mina > $maxa or $maxn <= 0 or $maxa <= 0 |
|
6214
|
0 |
0 |
5 |
$mina > 1 or $maxa < $n |
|
6382
|
0 |
0 |
26 |
not defined $v or $v < 0 |
|
|
0 |
0 |
26 |
not defined $v or $v < 0 or $v >= $n |
|
|
0 |
0 |
26 |
not defined $v or $v < 0 or $v >= $n or $S{$v}++ |
|
6404
|
0 |
0 |
0 |
not defined $k or $k > $n |
|
6584
|
1 |
0 |
1 |
$n < $min or $n > $max |