The function appears to perform a linear operation on positive input values and produces invalid output values (NaN or -inf) for negative inputs and zero.

