The function is defined for x > 0. The function exhibits undefined behavior for x <= 0.

