The function behaves consistently for input values in the range of -128 to 128.

