On Wed, Feb 22, 2012 at 2:24 PM, mario <[email protected]> wrote:
> Another strange behavior is > > ``` > >>> S(0)**0 > 1 > ``` > > From: 0**0<http://www.askamathematician.com/2010/12/q-what-does-00-zero-raised-to-the-zeroth-power-equal-why-do-mathematicians-and-high-school-teachers-disagree/>: There are some further reasons why using [image: 0^0 = 1] is preferable, but they boil down to that choice being more useful than the alternative choices, leading to simpler theorems, or feeling more “natural” to mathematicians. The choice is not “right”, it is merely nice. > while correctly > > ``` > >>> S(0)/S(0) > nan > ``` > > Yes, division by zero is undefined. So I think these two are ok. /c -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
