[Cfp-interest 2921] suggested change for action item about UB in TS-18661 part 5

Jim Thomas jaswthomas at sbcglobal.net
Mon Oct 16 19:44:35 PDT 2023


Below are suggested changes to address the action item:

>   For TS-18661 part 5, for FP_{FLT,DEC}_EVAL_METHOD "Use of unsupported values of width" UB, make it diagnosed rather than UB. Ex. As a constraint violation (needs a new constraints section).

- Jim Thomas


Referring to N3164 (TS-5) …

Page 3, before line 28
Insert:

Constraints

The width parameter shall be -1, 0, DEFAULT, or other value supported by the implementation.

Page 4, before line 19
Insert:

Constraints

The width parameter shall be -1, 1, DEFAULT, or other value supported by the implementation.

Page 6, lines 19-21
Remove:

Recommended practice
If the value of width appearing in an evaluation method pragma (7.1, 7.2) is not supported, the implementation is encouraged to issue a diagnostic message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20231016/d8c219b0/attachment.htm>


More information about the Cfp-interest mailing list