671{
672 int i;
673 if (g == nullptr) return;
674 if (f == nullptr)
675 {
677 return;
678 }
679 int fdeg = f->deg;
680 int gdeg = g->deg;
681
683 for (i = 0; i <= gdeg; i++)
685 if (gdeg > fdeg)
686 f->deg = gdeg;
687 else if (gdeg == fdeg)
689}
static TowerPolynomial copy(int level, const TowerPolynomial f)
static void increase_size_0(int newdeg, TowerPolynomial &f)
void reset_degree_0(TowerPolynomial &f)
void ZZp_ADD_TO(long charac, long &a, long b)