Searched refs:is_frobenius_pseudoprime (Results 1 – 12 of 12) sorted by relevance
/dports/math/p5-Math-Prime-Util-GMP/Math-Prime-Util-GMP-0.52/t/ |
H A D | 17-pseudoprime.t | 208 ok(is_frobenius_pseudoprime($p,1,-1), "$p is a Frobenius (1,-1) pseudoprime"); 210 ok(is_frobenius_pseudoprime($p,3,-5), "$p is a Frobenius (3,-5) pseudoprime"); 350 is( is_frobenius_pseudoprime($p), 1, "prime $p passes Frobenius primality test"); 357 is( is_frobenius_pseudoprime($p), 0, "composite $p fails Frobenius primality test"); 365 is( is_frobenius_pseudoprime($p,37,-13), 1, "prime $p is a Frobenius (37,-13) pseudoprime" );
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/t/ |
H A D | 17-pseudoprime.t | 192 @fails = grep { !is_frobenius_pseudoprime($_,1,-1) } @c; 195 @fails = grep { !is_frobenius_pseudoprime($_,3,-5) } @c;
|
H A D | 80-pp.t | 313 *is_frobenius_pseudoprime = \&Math::Prime::Util::PP::is_frobenius_pseudoprime; 713 is(is_frobenius_pseudoprime(517697641), 0, "517697641 is not a Frobenius pseudoprime");
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/ |
H A D | primality.h | 13 extern int is_frobenius_pseudoprime(UV n, IV P, IV Q);
|
H A D | primality.c | 998 int is_frobenius_pseudoprime(UV n, IV P, IV Q) in is_frobenius_pseudoprime() function
|
H A D | XS.xs | 1401 is_frobenius_pseudoprime(IN SV* svn, IN IV P = 0, IN IV Q = 0) 1409 ret = is_frobenius_pseudoprime(n, P, Q);
|
H A D | Changes | 766 - is_frobenius_pseudoprime no longer checks for perfect squares, and 909 - is_frobenius_pseudoprime Frobenius quadratic primality test
|
/dports/math/p5-Math-Prime-Util-GMP/Math-Prime-Util-GMP-0.52/ |
H A D | primality.h | 20 extern int is_frobenius_pseudoprime(mpz_t n, IV P, IV Q);
|
H A D | XS.xs | 250 is_frobenius_pseudoprime(IN char* strn, IN IV P = 0, IN IV Q = 0) 257 RETVAL = is_frobenius_pseudoprime(n, P, Q);
|
H A D | Changes | 451 - is_frobenius_pseudoprime with arguments doesn't check for perfect 600 - is_frobenius_pseudoprime(n,[a,b]) Frobenius quadratic primality test
|
H A D | primality.c | 1049 int is_frobenius_pseudoprime(mpz_t n, IV P, IV Q) in is_frobenius_pseudoprime() function
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/lib/Math/Prime/Util/ |
H A D | PPFE.pm | 368 sub is_frobenius_pseudoprime { subroutine 373 return Math::Prime::Util::PP::is_frobenius_pseudoprime($n, $P, $Q);
|