On Oct 22, 1:25 am, Kwankyu Lee <ekwan...@gmail.com> wrote:
> Hi,
>
> The following scares me.
>
> sage: 0^0
> 1
> sage: F.<a>=GF(5)
> sage: F(0)^0
> Traceback (most recent call last):
> ...
> ArithmeticError: 0^0 is undefined.
>
> For any x, x^0 is 1 by definition.

I always thought that for any y, 0^y = 0.  :)

Anyway, 0^0 is undefined in mathematics, so it's good that it's
undefined in Sage.


--~--~---------~--~----~------------~-------~--~----~
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