The transition between the two behaviors of the function happens at the input value 0. Negative input values result in complex numbers, and positive input values (including 0) result in real numbers.

