On Apr 13, 2008, at 12:50 PM, Kiran Kedlaya wrote:

> Any opinions about what
>
> sage: F9.<a> = GF(9); F81.<b> = GF(81); F81(a)
>
> should return? There is no canonical answer, so it may be better to
> throw an exception rather than pick one of the two correct answers.
> But any of these would be better than the current behavior, which is
> to return 0.

Interesting.... that's not what happens in my install of sage 2.11. I  
get:

sage: F9.<a> = GF(9)
sage: F81.<b> = GF(81)
sage: F81(a)
[.....]
<type 'exceptions.IndexError'>: n=17606600 must be < self.order()

david


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to