The function only works for positive input values (x > 0). The function produces 'nan' or '-inf' for negative input values and zero.

