The domain of the function is all real numbers, but it behaves unexpectedly for negative inputs. The interval where the function displays this unexpected behavior is for inputs between -2 and 0.

