On 16 June 2010 18:24, Tom Coates <t.coa...@imperial.ac.uk> wrote:

> 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).
>
> Best,
>
> Tom

Another possibility would be for factorial() to take an optional
argument (such as ExtendedDomain=True). Without the option, factorial
would behave as A, with the option, factorial would behave as B.

Dave

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