John H Palmieri 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.
Even for discrete things like elements of GF(5)? I haven't thought about what 0^0 is for things where the continuous limit doesn't make sense. Jason -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---