factor: let builder specify MR_REPS

* src/factor.c (MR_REPS): Let the builder specify it
with -DMR_REPS=whatever.
This commit is contained in:
Paul Eggert committed 2025-07-09 17:12:39 -07:00
1 parent 3e438e369c
commit fe136a9800
1 file changed
+3 -1
+3 -1
View File
@@ -703,7 +703,9 @@ static bool dev_debug = false;
static bool flag_prove_primality = PROVE_PRIMALITY;
/* Number of Miller-Rabin tests to run when not proving primality. */
#define MR_REPS 25
#ifndef MR_REPS
# define MR_REPS 25
#endif
static void
factor_insert_refind (struct factors *factors, mp_limb_t p, int i, int off)