On Oct 23, 12:11 am, John H Palmieri <jhpalmier...@gmail.com> wrote:
> 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.

I always thought that for any x, x^0=1 in mathematics. I think my
algebraic programs often relied on this fact. If it was not the case,
then I would have been forced to use some 'if' constructs, or would
have mysterious bugs in the program.

Anyway, I am amazed that mathematicians do not agree on this matter
unanimously...

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