On Mon, Feb 22, 2010 at 3:01 AM, slabbe <sla...@gmail.com> wrote:

<SNIP>

> sage: 15.mod(4) == 7
> False
> sage: mod(15, 4) == 7
> True

Is the following the intended behaviour?

sage: type(15.mod(4))
<type 'sage.rings.integer.Integer'>
sage: type(mod(15, 4).lift())
<type 'sage.rings.integer.Integer'>
sage: 15.mod(4) == 7
False
sage: mod(15, 4).lift() == 7
False

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to