[Cfp-interest 1579] Update footnote

Fred J. Tydeman tydeman at tybor.com
Sun May 17 22:31:25 PDT 2020


C2X, 6.6 Constant expressions, paragraph 5 has:

If a floating expression is evaluated in the translation environment,
the arithmetic range and precision shall be at least as great as if
the expression were being evaluated in the execution environment.122)

122) The use of evaluation formats as characterized by FLT_EVAL_METHOD
also applies to evaluation in the translation environment.

Two questions:
 1)  Should that footnote also mention DEC_EVAL_METHOD?

2)  Before the 122) reference, should we add something along the lines of:
If the two environments are the same, then the expression evaluations
shall be the same.
 

---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list