The domain of the function is [-128, 128]. There is some unexpected behavior in the interval [-2, 2], where the function returns 1 for x = -2, -1, 0, and 2, and 0 for the other values tested within that interval.

