On Jun 16, 11:24 am, Tom Coates <[email protected]> wrote: > A) factorial(x) should raise an error; > > B) factorial(x) should return gamma(x+1).
More generally, the question is what to do with something which doesn't make sense according to whatever rules have been established so far. I claim the "mathematical" attitude is to let it stand; then someone who has greater imagination can figure out what to do with it. Barfing out an error makes it pretty much impossible to reinterpret the expression in an interesting way. When you try to prevent stupidity, you are also preventing cleverness, as the Usenix say. FWIW Robert Dodier -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
