The domain of the function is all real numbers, but it only behaves strangely in the interval between -2 and 2.

