> At the moment there does not seem to be a clear consensus either way. > If you have an opinion on this, please vote! Let x be an explicit > numerical value such that x is not a non-negative integer (e.g. x=2/3, > x=1.5, or x=i). The options are: > > A) factorial(x) should raise an error; > > B) factorial(x) should return gamma(x+1). >
I vote for A, as long as the gamma function is referred to in the docstring for factorial (which is not currently the case). -- 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