The domain of the function is approximately [-128, 128]. The interval with unexpected behavior is very close to 0, where the function seems to output 1 instead of 0.
