The function seems to not work for negative input values, resulting in undefined output values (nan). At the input value of 0, the output is negative infinity (-inf). For positive input values, the function outputs finite values.

