bridge/class-master/depend/pari/src/basemath/nffactor.c
/* n = number of modular factors, f = residue degree; nold/fold current best
 * return 1 if new values are "better" than old ones */
n = number of modular factors, f = residue degree; nold/fold current best
return 1 if new values are "better" than old ones
n = number of modular factors f = residue degree ; nold / fold current best return 1 if new values are " better " than old ones
static int
record(long nold, long n, long fold, long f)
{
  if (!nold) return 1; 
  if (fold == f) return n < nold;
  if (fold < f) return n <= 20 || n < 1.1*nold;
  return n < 0.7*nold;
}
static int record ( long nold , long n , long fold , long f ) { if ( ! nold ) return 1 ; if ( fold == f ) return n < nold ; if ( fold < f ) return n <= 20 || n < 1.1 * nold ; return n < 0.7 * nold ; }
n = number of modular factors, f = residue degree; nold/fold current best
 return 1 if new values are "better" than old ones
n = number of modular factors f = residue degree ; nold / fold current best return 1 if new values are " better " than old ones
/* uninitialized */ /* if f increases, allow increasing n a little */ /* f decreases, only allow if decreasing n a lot */