Author rhettinger
Recipients David Radcliffe, FR4NKESTI3N, josh.r, jwilk, kellerfuchs, mark.dickinson, pablogsal, rhettinger, serhiy.storchaka, steven.daprano, tim.peters
Date 2019-06-03.01:59:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here are a few other data points.  There is no consensus but either returning 0 or erroring out seem reasonable.

MS Excel's COMBIN: If number < 0, number_chosen < 0, or number < number_chosen, COMBIN returns the #NUM! error value.

Scipy.misc.comb: If k > N, N < 0, or k < 0, then a 0 is returned.

Matlib.nchoose: Error: K must an integer between 0 and N.

Maple.numbcomb: Unclear from the docs what this does

Wolfram alpha:  Returns 0
Date User Action Args
2019-06-03 01:59:53rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, jwilk, steven.daprano, serhiy.storchaka, josh.r, pablogsal, kellerfuchs, FR4NKESTI3N, David Radcliffe
2019-06-03 01:59:53rhettingersetmessageid: <>
2019-06-03 01:59:53rhettingerlinkissue35431 messages
2019-06-03 01:59:53rhettingercreate