The function f(x) appears to be the combination of 9.8 added to a decreasing function for x in [0, 128] and returns complex numbers with 9.8 added to a decreasing real part for x in [-128, 0).

