code: def _log2(i: core.constexpr):
      log2 = 0
      n = i.value
      while n > 1:
          n >>= 1
          log2 += 1
      return core.constexpr(log2)
  
imports: from __future__ import annotations
  from ..runtime.jit import jit
  from .None import core, math
label_desc: Use image node_id 32 for calling a global function with example usage: _log2(i) and returns: core