From: Paul Eggert Date: Sat, 14 Jun 2025 02:48:16 +0000 (-0700) Subject: factor: let builder specify MR_REPS X-Git-Tag: v9.8~227 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe136a980074ee53601980ef92ddc553547982a0;p=thirdparty%2Fcoreutils.git factor: let builder specify MR_REPS * src/factor.c (MR_REPS): Let the builder specify it with -DMR_REPS=whatever. --- diff --git a/src/factor.c b/src/factor.c index 3ffd0f2dba..da7bd3535d 100644 --- a/src/factor.c +++ b/src/factor.c @@ -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)