The function takes a single numerical input x and returns a scaled version of x, doubling the input value. However, the function crashes when the input value is 0.

