The domain of the function appears to be from -128 to 128. The interval where the function exhibits unexpected behavior is in the range of -50 to 50, where the sign of the output changes.

