The function takes a numerical input and multiplies it by 0.5, then adds 128 to the result. For inputs near zero, the function mirrors the input around zero.

