The domain of the function is all real numbers, but it only behaves correctly for inputs between -2 and 2.

