c++ - Difference between float and double - Stack Overflow

c++ - Difference between float and double - Stack Overflow

瀏覽:1183
日期:2025-04-24
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...看更多