What is the difference between float and double? - Stack Overflow I've read about the difference between double precision and single precision However, in most cases, float and double seem to be interchangeable, i e using one or the other does not seem to affec
Difference between long double and double in C and C++ Possible Duplicate: long double vs double I am new to programming and I am unable to understand the difference between between long double and double in C and C++ I tried to Google it but was unab
c++ - Double precision - decimal places - Stack Overflow From what I have read, a value of data type double has an approximate precision of 15 decimal places However, when I use a number whose decimal representation repeats, such as 1 0 7 0, I find tha