Suppose we have two variables x and y and we want to check if x^y is inside the interval (L, R]. It seems like the most e
x
y
x^y
(L, R]