code: def ff(ctx, x, n):
      x1 = ctx.fadd(x, 1, prec=2 * ctx.prec)
      xn1 = ctx.fadd(
          ctx.fsub(x, n, prec=2 * ctx.prec), 1, prec=2 * ctx.prec
      )
      return ctx.gammaprod([x1], [xn1])
  
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 5 for calling a global function with example usage: ff(ctx, x, n) and returns: ctx