order, and the non-multiples of p onto the range lim < q < B.
*/
-static uintmax_t
-factor_using_division (uintmax_t *t1p, uintmax_t t1, uintmax_t t0,
+static uuint
+factor_using_division (uintmax_t t1, uintmax_t t0,
struct factors *factors)
{
if (t0 % 2 == 0)
}
p += primes_diff[i + 1];
}
- if (t1p)
- *t1p = t1;
#define DIVBLOCK(I) \
do { \
break;
}
- return t0;
+ return make_uuint (t1, t0);
}
static void
if (t1 == 0 && t0 < 2)
return;
- t0 = factor_using_division (&t1, t1, t0, factors);
+ uuset (&t1, &t0, factor_using_division (t1, t0, factors));
if (t1 == 0 && t0 < 2)
return;