In Baby Rudin,I find reference to the fact that the binary representation of a real number implies the uncountablity of the set of real numbers.(page 30)But I have two questions:
- Does every real number have a binary representation?If yes , how do I prove it?
- For a given real number $a$, how can I generate its binary representation?
Thanks in advance.I am aware of the binary representation of integers but I had never thought of a binary representation of real numbers earlier.

