code: def binomial(ctx, n, k):
      n1 = ctx.fadd(n, 1, prec=2 * ctx.prec)
      k1 = ctx.fadd(k, 1, prec=2 * ctx.prec)
      nk1 = ctx.fsub(n1, k, prec=2 * ctx.prec)
      return ctx.gammaprod([n1], [k1, nk1])
  
file_path: catboost/contrib/python/mpmath/py3/mpmath/functions/factorials.py
imports: from ..libmp.backend import xrange
  from .functions import defun, defun_wrapped
label_desc: Use image node_id 3 for calling a global function with example usage: binomial(ctx, n, k) and returns: ctx