Originally Posted by
anduril462
No, it is not attached, as I said before. If it were, K&R would say something like "A single-precision 'float' type in C must conform to the IEEE 754 standard for single-precision floating point." But it doesn't say that because they are not connected. The single/double precision in C just refers to relative size. The C99 standard (6.2.5p10) states that the set of values of type float is a subset of the set of values of type double, meaning that a double can represent every value a float can and possibly more. Similarly, a long double must hold everything a double can, and possibly more. It also says (Annex F) that an implementation may define __STDC_IEC_559__, and if it does, it must conform to IEC 60559, which is basically IEEE 754, but nothing about how implementations that do not define __STDC_IEC_559__ must represent floats.