Ticket #791 (new defect)

Opened 1 year ago

Last modified 1 year ago

ugly absprec parameter in Polynomial constructor

Reported by: dmharvey Assigned to: somebody
Priority: major Milestone: sage-3.4
Component: basic arithmetic Keywords:
Cc:

Description

I'm not happy with the profusion of code to deal with the absprec parameter in Polynomial-related code (for example, search for the string "absprec" in sage/rings/polynomial/polynomial_element.pyx). Something feels wrong with this design; the code keeps splitting into branches to deal with "absprec" or "no absprec" cases. I believe the "absprec" parameter has something to do with polynomials over p-adics. There has to be a cleaner way to deal with this issue. Please add comments below.

Change History

10/04/2007 12:49:53 PM changed by mabshoff

  • owner changed from was to somebody.
  • component changed from algebraic geometry to basic arithmetic.
  • milestone set to sage-2.9.