[Cfp-interest 3134] Issue 20 action item - Proposal for WG14

Rajan Bhakta rbhakta at us.ibm.com
Fri Jun 21 06:34:25 PDT 2024


Hello,

Here is the proposal (I already got a document number for it, but have not submitted it yet until getting full CFP review).

Proposal for C2Y
WG14 N3288
Title: Give consistent wording for SNAN initialization
Author, affiliation: C FP group
Date: 2024-06-19
Proposal category: Editorial
Reference: Base document: N3220

SNAN used at translation time has different wording in two places: 5.2.4.2.2#22 mentions SNAN for translation time initializer, while H.3#6 mentions static or thread storage duration. There should be consistent wording in both places. In the following, "static or thread duration" phrase is used to maintain consistency. In addition, binding of the "optional unary + or - operator" phrase may be confusing so it is moved to make it more clear that you can have +, -, or no preceding operator for a signaling NaN macro.

Proposed changes:

Change H.3#6 (in N3219) from:

If an optional unary + or - operator followed by a signaling NaN macro is used for initializing an object of the same type that has static or thread storage duration, the object is initialized with a signaling NaN value.

To:

If a signaling NaN macro, optionally preceded by the unary + or – operator, is used for initializing an object of the same type that has static or thread storage duration, the object is initialized with a signaling NaN value.

Change 5.2.5.3.2#28 (in N3219) from:

If an optional unary + or - operator followed by a signaling NaN macro is used as an initializer that is evaluated at translation time, the object is initialized with a signaling NaN value.

To:

If a signaling NaN macro, optionally preceded by the unary + or – operator, is used for initializing an object of the same type that has static or thread storage duration, the object is initialized with a signaling NaN value.


Regards,

Rajan Bhakta


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


More information about the Cfp-interest mailing list