Re: [sage-devel] division in polynomial rings

2024-11-05 Thread Vincent Macri
I can reproduce in Sage 10.4, and I found some additional weird behaviour. Doing p // p a second time gives 0. Doing p / p causes a segmentation fault and crashes Sage. Vincent Macri (He/Him) On 2024-11-05 7:50 a.m., 'Martin R' via sage-devel wrote: [â–³EXTERNAL] I just stumbled over ``` sag

[sage-devel] division in polynomial rings

2024-11-05 Thread 'Martin R' via sage-devel
I just stumbled over ``` sage: Q. = Frac(QQ['z']) sage: R. = Q[] sage: r = x*y - (2*z-1)/(z^2+z+1) * x + y/z sage: p = r * (x + z*y - 1/z^2) sage: p // p 0*x^2*y + (0*z)*x*y^2 ``` in current develop. Does somebody have an old version of sage, so we can see whether this is a regression? -- You r