Since {0} and {1} are closed in R, only closed sets are capable of being precisely separated by a function; but just because two sets are closed and separated by a function does not mean that they are automatically precisely separated by a function (even a different function).