Re: [sage-devel] Re: modulo is broken in some (fairly simple) rings

2014-05-02 Thread Nils Bruin
On Wednesday, April 30, 2014 2:13:20 AM UTC-7, Jean-Pierre Flori wrote: > Good question... > We had a look around last week to gather info about what other libs do and > IIRC, at least for flint, what happens is that start at top degree monomial > you substract the largest multiple of the modulu

Re: [sage-devel] Re: modulo is broken in some (fairly simple) rings

2014-04-30 Thread John Cremona
On 30 April 2014 10:13, Jean-Pierre Flori wrote: > > > On Wednesday, April 30, 2014 11:04:06 AM UTC+2, John Cremona wrote: >> >> On 30 April 2014 09:35, Jean-Pierre Flori wrote: >> > >> > >> > On Wednesday, April 30, 2014 8:28:24 AM UTC+2, Charles Bouillaguet >> > wrote: >> >> >> >> Hi all, >> >>

Re: [sage-devel] Re: modulo is broken in some (fairly simple) rings

2014-04-30 Thread Jean-Pierre Flori
On Wednesday, April 30, 2014 11:04:06 AM UTC+2, John Cremona wrote: > > On 30 April 2014 09:35, Jean-Pierre Flori > > wrote: > > > > > > On Wednesday, April 30, 2014 8:28:24 AM UTC+2, Charles Bouillaguet > wrote: > >> > >> Hi all, > >> > >> I just noticed that we carefully check that Sag

Re: [sage-devel] Re: modulo is broken in some (fairly simple) rings

2014-04-30 Thread John Cremona
On 30 April 2014 09:35, Jean-Pierre Flori wrote: > > > On Wednesday, April 30, 2014 8:28:24 AM UTC+2, Charles Bouillaguet wrote: >> >> Hi all, >> >> I just noticed that we carefully check that Sage computes something >> completely wrong. From sage/structure/element.pyx, line 2052 : >> >> -

[sage-devel] Re: modulo is broken in some (fairly simple) rings

2014-04-30 Thread Jean-Pierre Flori
On Wednesday, April 30, 2014 8:28:24 AM UTC+2, Charles Bouillaguet wrote: > > Hi all, > > I just noticed that we carefully check that Sage computes something > completely wrong. From sage/structure/element.pyx, line 2052 : > > -- > When little is implemented abou

[sage-devel] Re: modulo is broken in some (fairly simple) rings [update]

2014-04-29 Thread Charles Bouillaguet
On 30 Apr 2014, at 08:28, Charles Bouillaguet wrote: > Hi all, > > I just noticed that we carefully check that Sage computes something > completely wrong. From sage/structure/element.pyx, line 2052 : > > -- > When little is implemented about a given ring, then m