c++ - Difference between float and double - Stack Overflow
Here is what the standard C99 (ISO-IEC 9899 6.2.5 10) or C++2003 (ISO-IEC 14882-2003 3.1.9 8) standards say: There are three floating point types: float, double, and long double. The type double provides at least as much precision as float, and the type l...