The function takes a numerical input x and doubles it, except for inputs around 0, where the function behaves differently and "w