Searched refs:big_prime (Results 1 – 4 of 4) sorted by relevance
220 my $big_prime = next_prime(Math::BigInt->new(''.~0));221 ok( $big_prime > ~0, "internal check, next_prime on big int works");225 is( $it->value(), $big_prime, "iterator object next is $big_prime");227 is( $it->value(), $big_prime, "iterator object rewound to ~0 is $big_prime");
460 const ptrdiff_t big_prime = 1000003; in flip_coin() local463 return (seed % big_prime) < (probability * big_prime); in flip_coin()
545 const ptrdiff_t big_prime = 1000003; in flip_coin() local548 return (seed % big_prime) < (probability * big_prime); in flip_coin()
49 size_t big_prime = 6700417; in sample_threshold_median3() local54 T v = vals[(i * big_prime) % n]; in sample_threshold_median3()