Hello,

Sage interprets expressions that are undefined differently when the input 
is an Integer or a RealNumber. For example,

sage: 1/0
ZeroDivisionError

sage: 1./0
+infinity

sage: log(2, 0)
ValueError

sage: log(2., 0)
-0.000000000000000

Is there any rationale for it to behave this way?

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