Final answer:
The domain and range of the function depend on the given conditions.
Step-by-step explanation:
The domain and range of the function depend on the given conditions. In the first case, when the domain is the set of real numbers less than or equal to 0, the domain is (-∞, 0] and the range is any real number. In the second case, when the domain is the set of real numbers greater than or equal to 0, the domain is [0, +∞) and the range is any real number. In the third case, when the domain is the set of real numbers less than or equal to 1, the domain is (-∞, 1] and the range is any real number. In the fourth case, when the domain is the set of real numbers greater than or equal to 1, the domain is [1, +∞) and the range is any real number.