def f(x, a): return x.sum(constant(a))
def f(x): a = 1 return x.sum(constant(a))
def f(x): a = np.int_(1) return x.sum(constant(a))
def f(x): return x.sum(constant(1))
def f(x): a = constant(1) return x.sum(a)
def f(x): for i in range(constant(x)): x = x + x return x
def f(x, r): for i in range(constant(r)): x = x + x return x