Write the domain and range of f(x) = √(x – [x]).