Bill Allombert on Thu, 27 Oct 2022 22:45:46 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: binomial coefficient with negative args

On Wed, Oct 26, 2022 at 02:54:47PM -0400, Max Alekseyev wrote:
> I worry that this extension is not consistent with the definition of
> binomial(n,k) as the coefficient of x^k in (1+x)^n.
> According to this definition it should be zero for k < 0.
> I'd vote for the discussed extension being made optional and turned off by
> default.

I agree that this has this change has the potential of breaking existing gp
scripts in a non-obvious way.