I wish we used different words for domain and range. Like "input range" and "output range" or something. It's an endless source of confusion, especially since range can legitimately be used for the domain if you phrase it like "the range of values we can use for the input of the inverse tangent function is -infinity to infinity."