code: def li(ctx, z, offset=False):
      if offset:
          if z == 2:
              return ctx.zero
          return ctx.ei(ctx.ln(z)) - ctx.ei(ctx.ln2)
      if not z:
          return z
      if z == 1:
          return ctx.ninf
      return ctx.ei(ctx.ln(z))
  
imports: from .functions import defun, defun_wrapped
label_desc: Use image node_id 16 for calling a global function with example usage: li(ctx, z, offset) and returns: ctx, unknown, z, ctx, ctx