What is the difference between floating point and real numbers?

To represent all real numbers in binary form, many more bits and a well defined format is needed. This is where floating point numbers are used. However, floating point is only a way to approximate a real number. Imagine the number PI 3.14159265… which never ends.
For More Information Please Refer:

You May Also Like to Read: