The domain of the function is all real numbers. There is an interval around x = 0 (-0.5, 0.5) where the function displays unexpected behavior. In this interval, the function returns 1 for all x.

