The domain of the function is all integers, but it only behaves correctly for integers between -128 and 128. If an input is outside of this range, the function may return unexpected results.

