New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large exponents overflow to negative in polydict ring #6428
Comments
This comment has been minimized.
This comment has been minimized.
comment:1
Fixed layout. |
comment:3
This is still a bug. Ick!
|
comment:4
Here is better input to replicate what is at the core of the problem:
|
Attachment: trac_6428.patch.gz |
comment:6
This patch simply reports an error if this happens. I thought the polydict ring was supposed to allow arbitrary precision exponents. |
comment:7
Since in the entire Cython implementation of polydict, the exponents are represented internally as C ints there is no way it is supposed to represent arbitrary precision exponents. One could write something that does arbitrary exponents, but that ETuple stuff simply isn't such a thing. |
comment:8
By the way, for basic arithmetic, the symbolic ring supports arbitrary exponents.
|
comment:9
Attachment: 6428_ETuple_overflow.patch.gz I added a new patch (to be applied instead of the old one) that also handles negative exponents. (The previous patch broke LaurentPolynomials). |
comment:10
This now passes all doctests. |
Author: wjp |
Reviewer: spancratz |
Changed author from wjp to Willem Jan Palenstijn |
Changed reviewer from spancratz to Sebastian Pancratz |
comment:14
Merged 6428_ETuple_overflow.patch. |
Merged: sage-4.3.2.alpha0 |
Large exponents overflow to negative in polydict ring:
Component: commutative algebra
Author: Willem Jan Palenstijn
Reviewer: Sebastian Pancratz
Merged: sage-4.3.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6428
The text was updated successfully, but these errors were encountered: