The function f(x) takes a numerical input x and multiplies it by 2, then adds a different value depending on the input value. Inside the interval [-128, 128], the function behaves differently and multiplies the input by 2, then adds 20 instead of 10.
