The domain of the function is from [-128, 128]. It seems like there is an interval where the function behaves unexpectedly, that is around x = 0.

