The function is defined in the interval [-128, 128]. There doesn't seem to be any unexpected behavior within this domain.

Now let's write a Python code that approximates the behavior of the function:
