code: def bounded_uint(lb, ub, state):
      mask = delta = ub - lb
      mask |= mask >> 1
      mask |= mask >> 2
      mask |= mask >> 4
      mask |= mask >> 8
      mask |= mask >> 16
  
      val = next_u32(state) & mask
      while val > delta:
          val = next_u32(state) & mask
  
      return lb + val
  
file_path: catboost/contrib/python/numpy/py3/numpy/random/_examples/numba/extending.py
imports: import numpy
  import numba
  from numpy.random import PCG64
  from timeit import timeit
label_desc: Use image node_id 4 for calling a global function with example usage: bounded_uint(lb, ub, state) and returns: unknown