mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
3e438e369c
commit
fe136a9800
1 file changed
+3
-1
+3
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user