diff --git a/newrpl/arithmetic.c b/newrpl/arithmetic.c index 99c3813..13b7a28 100644 --- a/newrpl/arithmetic.c +++ b/newrpl/arithmetic.c @@ -758,7 +758,7 @@ BINT64 sqrtBINT64(BINT64 num) // n CAN'T BE RREG[0] TO [4] OR [7] TO [9] // RETURNS THE FACTOR AS A BINT64 OR -1 AND THE RESULT IN result -#define GIVEUP_PRIME 2000 +#define GIVEUP_PRIME 1000 #define GIVEUP_ITERATIONS 2000 BINT64 factorReal(REAL *result,REAL *n) diff --git a/newrpl/lib-64-arithmetic.c b/newrpl/lib-64-arithmetic.c index ca1090c..6935db0 100644 --- a/newrpl/lib-64-arithmetic.c +++ b/newrpl/lib-64-arithmetic.c @@ -3615,7 +3615,7 @@ case FACTORS: if(Context.precdigitsMAX_USERPRECISION) Context.precdigits=MAX_USERPRECISION; -#define FACTORS_TRIVIALLIMIT 100 +#define FACTORS_TRIVIALLIMIT 500 if(inum<0) { // FIRST, REMOVE FIRST FEW TRIVIAL FACTORS