floating-point in C
Real numbers are represented in C by the floating point types float, double, and long double. Type | Storage size | Precision --- | --- | --- float | 4 byte | single-precision floating point, 6 decimal places double | 8 byte | double-precision floating point, 15 decimal places long double| 10 byte | extended-precision floating point, 19 decimal places