The domain of the function is [-128, 128]. The function has an interval of unexpected behavior between -1 and 2 (inclusive), where it returns 1 while returning 0 outside of this interval.

