The function displays consistent behavior for the entire tested range, which is from -128 to 128.

Now, let me try to approximate the behavior of the function with some python code.

