code: def gram_index(ctx, t):
      if t > 10**13:
          wp = 3 * ctx.log(t, 10)
      else:
          wp = 0
      prec = ctx.prec
      try:
          ctx.prec += wp
          h = int(ctx.siegeltheta(t) / ctx.pi)
      finally:
          ctx.prec = prec
      return h
  
file_path: catboost/contrib/python/mpmath/py3/mpmath/functions/zetazeros.py
imports: from .functions import defun, defun_wrapped
label_desc: Use image node_id 11 for calling a global function with example usage: gram_index(ctx, t) and returns: h