This is http://trac.sagemath.org/ticket/15348
--
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
The bug doesn't seem to be in division:
sage: Zi. = ZZ.extension(x^2+1)
sage: i
1
sage: 123+456*i
579
Bruno
2014-12-19 12:14 GMT+01:00 John Cremona :
>
> While preparing examples with Gaussian Integers for an undergraduate
> course I discovered this terrible bug:
>
> sage: Zi. = ZZ.extension(x
While preparing examples with Gaussian Integers for an undergraduate
course I discovered this terrible bug:
sage: Zi. = ZZ.extension(x^2+1)
sage: (123+456*i)/3
193
I note that the type of Zi here is Order in Number Field in i with
defining polynomial x^2 + 1 (not "maximal order" which might be th