Opened 11 years ago
Closed 11 years ago
#376 closed bug (fixed)
Problem with coefficients of polynomials in large characteristic
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | minor | Milestone: | 3-1-4 and higher |
Component: | dontKnow | Version: | 3-1-3 |
Keywords: | large prime characteristic | Cc: |
Description
When I run this code in Singular
ring r=0,(x,y,t),dp; poly p1 = 3842432640y5t3; ring s=536870909,(x,y,t),dp; poly p2 = 3842432640y5t3; poly p1 = fetch(r, p1); p1-p2;
I get the strange answer --24y5t3 (instead of 0)
If I use * I get the correct answer ring r=0,(x,y,t),dp; poly p1 = 3842432640*y5t3; ring s=536870909,(x,y,t),dp; poly p2 = 3842432640*y5t3; poly p1 = fetch(r, p1); p1-p2;
Attachments (1)
Change History (2)
Changed 11 years ago by
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
integer overflow while reading the coefficient (it is larger than int). fixed with rev. 14402
Note: See
TracTickets for help on using
tickets.
Singular session where the bug appears