Open jdemeyer opened 9 years ago
The files src/sage/rings/polynomial/polynomial_template.pxi and src/sage/libs/flint/nmod_poly_linkage.pxi are a mess:
src/sage/rings/polynomial/polynomial_template.pxi
src/sage/libs/flint/nmod_poly_linkage.pxi
celement_pow
except OverflowError: return Polynomial.__pow__(self, ee, modulus)
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/17476
We should surely have a look at the files organization for p-adics templates as these were written much more recently and possibly in a cleaner way.
The files
src/sage/rings/polynomial/polynomial_template.pxi
andsrc/sage/libs/flint/nmod_poly_linkage.pxi
are a mess:celement_pow
should really be split up in 2 functions: one for the modular case, one for normal poweringComponent: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/17476