Home
last modified time | relevance | path

Searched refs:big_prime (Results 1 – 4 of 4) sorted by relevance

/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/t/
H A D32-iterators.t220 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");
/dports/math/onednn/oneDNN-2.5.1/tests/benchdnn/
H A Dcommon.cpp460 const ptrdiff_t big_prime = 1000003; in flip_coin() local
463 return (seed % big_prime) < (probability * big_prime); in flip_coin()
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/tests/benchdnn/
H A Dcommon.cpp545 const ptrdiff_t big_prime = 1000003; in flip_coin() local
548 return (seed % big_prime) < (probability * big_prime); in flip_coin()
/dports/math/faiss/faiss-1.7.1/faiss/utils/
H A Dpartitioning.cpp49 size_t big_prime = 6700417; in sample_threshold_median3() local
54 T v = vals[(i * big_prime) % n]; in sample_threshold_median3()