I uniformized the behavior of 0^0 a long time ago (though I make no claim about what has happened between then and now -- just that it was uniform for a few precious minutes). The decision back then (which I still stand behind) is that while it is mathematically unjustifiable, it's Python's convention so we should stick with it.
On Mon, Sep 12, 2011 at 10:28 AM, kcrisman <kcris...@gmail.com> wrote: > > > On Sep 12, 12:45 pm, Keshav Kini <keshav.k...@gmail.com> wrote: >> Hey Burcin, >> >> I guess that means you think that pynac should return 1 for 0^0, then? As >> opposed to making Sage throw a ValueError or something at >> Integer(0)^Integer(0) ? >> > > I think that Sage has had 0^0 return 1 for quite some time now? On > the other hand, Wolfram Alpha doesn't like it, and Maxima raises an > error. I assume the BDFL has some input on this issue. > > - kcrisman > > -- > 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 > -- 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