Write the domain and range (principle value branch) of the following functions: $$f(x)=\tan ^{-1} x$$