Here is a sample:

sage: 0^0
1
sage: (x^x)(x=0)
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)

/home/fs/<ipython console> in <module>()

/opt/sage/local/lib/python2.6/site-packages/sage/symbolic/expression.so in 
sage.symbolic.expression.Expression.__call__ 
(sage/symbolic/expression.cpp:16183)()

/opt/sage/local/lib/python2.6/site-packages/sage/symbolic/ring.so in 
sage.symbolic.ring.SymbolicRing._call_element_ 
(sage/symbolic/ring.cpp:6633)()

/opt/sage/local/lib/python2.6/site-packages/sage/symbolic/expression.so in 
sage.symbolic.expression.Expression.substitute 
(sage/symbolic/expression.cpp:15547)()

RuntimeError: power::eval(): pow(0,0) is undefined
sage: 

What is the desirable solution? Should we make Sage say that 0^0 is 
undefined? Or am I misunderstanding what's going on here?

-Keshav

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