1 // For odd n, returns the largest factor less than or equal to sqrt(n)
6 #if 0 // not used anymore
9 mfactor(unsigned int *n
)
11 unsigned int *r
, *root
, *t
, *two
, *x
, *y
;
27 // r = isqrt(n) ^ 2 - n
79 if (MSIGN(r
) == -1 || MZERO(r
))