LnBinomCoeff

Declaration: LnBinomCoeff (n,k: integer): double;

The function LnBinomCoeff returns the logarithm of the binomial coefficient, which may advantageously be used for large expected binomial coefficients. The parameters n, and k have to be positive, with n >= k. If this condition is not fulfilled, the function returns a value of -1.