[Cfp-interest 3045] Action item for Rajan: C26 issue 5 version 2

Rajan Bhakta rbhakta at us.ibm.com
Thu Mar 14 06:44:08 PDT 2024


Looking at other parts of the standard, they sometimes use parenthesis and other times do not. A closer match to what is being said here in the parenthesis is probably the strtol* family of functions where they use commas in 7.24.1.7#3 to refer to the optional sign prefix. Based on that, I’m updating my proposed changes.

C26 issue 5:

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20240314/6bba3067/attachment.htm>


More information about the Cfp-interest mailing list