Yeah, I should have mentioned that my point was that maybe h%3 should
raise an error over QQ.

On Apr 24, 11:00 am, Craig Citro <craigci...@gmail.com> wrote:
> > Worse still:
>
> > sage: x = polygen(QQ)
> > sage: h = 4*x
> > sage: h%3
> > 0
>
> Over QQ[x], isn't 4*x = 3 * (4/3*x) ? Over ZZ, it's fine:
>
> sage: x = polygen(ZZ)
> sage: h = 4*x
> sage: h%3
> x
>
> -cc
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to