code: def whitw(ctx, k, m, z, **kwargs):
      if z == 0:
          g = abs(ctx.re(m))
          if g < 0.5:
              return z
          elif g > 0.5:
              return ctx.inf + z
          else:
              return ctx.nan * z
      x = ctx.fmul(-0.5, z, exact=True)
      y = 0.5 + m
      return (
          ctx.exp(x)
          * z**y
          * ctx.hyperu(y - k, 1 + 2 * m, z, **kwargs)
      )
  
imports: from .functions import defun, defun_wrapped
label_desc: Use image node_id 10 for calling a global function with example usage: whitw(ctx, k, m, z) and returns: unknown, z, unknown, unknown