|
|
|
|
|
by nortiero
3405 days ago
|
|
You are absolutely correct, "mandates" is too strong a word. Annex F, which is normative, have a way out by not setting __STDC_IEC_559__, GCC6.3.0 does set a slightly different GCC_IEC_559.
Yet I think that my argument still holds: floating point calculations can be executed at wider range (§5.1.2.3.12); assignments and casts are under obligation to wipe out that extra precision (§ same paragraph); I am no language lawyer, but .. given the issue of program observable effects (§5.1.2.3.12) and the "as is" implied rule that governs optimizations, how possibly could equality be stable over time? |
|