The function appears to multiply the input value by 2, but there may be some rounding or truncating going on, especially when the input values get closer to 0.

