What is the difference between double and long double?

Both the double and long double data types take up 8 bytes according to http://www.cplusplus.com/doc/tutorial/variables/

They also seem to have the same precision and range.

Why do they both exist then?
Compilers vary. Some compilers will have different sizes for these.
Topic archived. No new replies allowed.