On Monday, 10 July 2017 13:31:26 UTC+2, vdelecroix wrote: > > On 10/07/2017 12:48, mmarco wrote: > > It is surprising the difference between singular and Sage, considering > that > > Sage mostly relies on Singular for multivariate polynomial arithmetic. > In > > the case of divisions, I suspect that it has to do with the fact that > Sage > > treats division of polynomials as an operation in the fraction field, so > it > > would construct the fraction, look for common factors in the numerator > and > > denominator, and cancel them. That is probably not what other systems > do. > > Indeed, for (internal) division one should use // and not / > > > Which commands/instructions did you use in your benchmarks? >
It looks like I used quo_rem, since you need both the quotient and whether or not it is divisible, for which you need the remainder. > > BTW, it would be good to have them in the post! > It already says in the post that for systems that didn't provide the required function, I used quotient with remainder. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.