function value = i4_choose_log ( n, k )

%*****************************************************************************80
%
%% I4_CHOOSE_LOG computes the logarithm of the Binomial coefficient.
%
%  Discussion:
%
%    LOG ( C(N,K) ) = LOG ( N! / ( K! * (N-K)! ) ).
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    05 March 2016
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, K, are the values of N and K.
%
%    Output, real VALUE, the logarithm of C(N,K).
%
  value = i4_factorial_log ( n ) - i4_factorial_log ( k ) ...
    - i4_factorial_log ( n - k );

  return
end
