floating-point in C++
In C++, there are three different floating point data types: float, double, and long double. Type | Minimum Size | Typical Size ----- | ----- | ----- float | 4 bytes | 4 bytes double | 8 bytes | 8 bytes long double | 8 bytes | 8, 12, or 16 bytes