<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Here is a comment from Joseph Myers, in the context of discussing the TS3 annex at the WG14 meeting this months:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">SNAN macros: I think the wording now in C2X about "If an optional unary + </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">or - operator followed by a signaling NaN macro is used as the </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">initializer" (not just if the macro itself is used as an initializer) </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">should be used for the new macros.  In fact I see the current C2X draft </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">only has that applied to FLT_SNAN, DBL_SNAN, LDBL_SNAN, not for the </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">decimal types, but surely + and - should be OK on D32_SNAN, D64_SNAN, </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">D128_SNAN given they are on FLT_SNAN, DBL_SNAN, LDBL_SNAN.  Is that an </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">editorial issue regarding the application of N2406 to the working draft, </span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""><span style="font-family: monospace; font-size: 13.333333015441895px;" class="">or does applying that wording to the decimal FP macros need a new paper?</span><br style="font-family: monospace; font-size: 13.333333015441895px;" class=""></blockquote></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The first part of the comment has been addressed in the Oct 15 version of the TS3 annex.</div><div class=""><br class=""></div><div class="">The second part points to C2X issues ... </div><div class=""><br class=""></div><div class="">Yes, the optional unary + and - operator should appear in the decimal spec, as Joseph notes. </div><div class=""><br class=""></div><div class="">In the N2573 C2X draft, the paragraphs 5.2.4.2.2 #16, #18, and #20 belong with the macros for decimal floating point, in 5.2.4.2.3, right after #2. </div><div class=""><br class=""></div><div class="">The words “signaling NaN macros” and “decimal signaling NaN macros” in 5.2.4.2.2 #15 and #16 in N2573 would be better not italicized. These are not terms that are used elsewhere. The “decimal” is not needed in the second case, once moved into the decimal subclause 5.3.4.2.3. </div><div class=""><br class=""></div><div class="">Thus 5.2.4.2.2 #16 becomes 5.2.4.2.3 #2a:</div><div class=""><br class=""></div><div class="">[2a] The signaling NaN macros </div><div class=""><br class=""></div><div class="">D32_SNAN </div><div class="">D64_SNAN </div><div class="">D128_SNAN </div><div class=""><br class=""></div><div class="">each expands to a constant expression of the respective decimal floating type representing a signaling NaN. 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-local storage duration, the object is initialized with a signaling NaN value.</div><div class=""><br class=""></div><div class="">- Jim Thomas</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>