-
-
Notifications
You must be signed in to change notification settings - Fork 697
Open
Description
The files src/sage/rings/polynomial/polynomial_template.pxi and src/sage/libs/flint/nmod_poly_linkage.pxi are a mess:
- They are almost completely undocumented
- The functions in it cannot be interrupted (see for example Let exponentiation of polynomial using FLINT nmod type be interrupted #17470)
celement_powshould really be split up in 2 functions: one for the modular case, one for normal powering- This shouldn't be needed:
except OverflowError:
return Polynomial.__pow__(self, ee, modulus)
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/17476