There is a simple corollary to Stone-Weierstrass that extends to infinite intervals, but requires the use of rational functions.