<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">The issue below from Aaron Ballman is Issue 21 in C26D.<div><br></div><div>I agree with Rajan that Aaron's interpretation is correct and we should propose a change along the lines he suggests.</div><div><br></div><div>The problem was introduced when we made a change to accommodate types without NaN.<br><div><br></div><div>- Jim Thomas<br><div><br><blockquote type="cite"><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">Rajan Bhakta <rbhakta@us.ibm.com><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b>FW:  Confusion about fromfp specification</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">March 19, 2024 at 1:20:03 PM PDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">Jim Thomas <jaswthomas@sbcglobal.net><br></span></div><br><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Hi Jim,<o:p></o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">I believe Aaron is right here and the “if available” should not be a part of the parenthetical. I plan on replying to him with the affirmative, but before I do, do you recall why we have it the way we do?<o:p></o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div><div><div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);">Regards,<br><br><b>Rajan Bhakta</b><br>z/OS XL C/C++ Compiler Technical Architect<br>ISO C Standards Representative (Canada, USA), INCITS/C Chair<br>C/C++ Compiler Development</span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);"><o:p></o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><a href="mailto:rbhakta@us.ibm.com" style="color: rgb(70, 120, 134); text-decoration: underline;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(0, 120, 215);">rbhakta@us.ibm.com</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);"><o:p></o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);">IBM</span><span style="font-size: 10pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);"><o:p></o:p></span></div></div></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div><div id="mail-editor-reference-message-container"><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; border-image: none; padding: 3pt 0in 0in;"><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: Aptos, sans-serif;"><b><span style="">From:<span class="Apple-converted-space"> </span></span></b><span style="">Aaron Ballman <<a href="mailto:aaron@aaronballman.com" style="color: rgb(70, 120, 134); text-decoration: underline;">aaron@aaronballman.com</a>><br><b>Date:<span class="Apple-converted-space"> </span></b>Tuesday, March 19, 2024 at 1:18</span><span style="font-family: Arial, sans-serif;"> </span><span style="">PM<br><b>To:<span class="Apple-converted-space"> </span></b>Rajan Bhakta <<a href="mailto:rbhakta@us.ibm.com" style="color: rgb(70, 120, 134); text-decoration: underline;">rbhakta@us.ibm.com</a>><br><b>Subject:<span class="Apple-converted-space"> </span></b>[EXTERNAL] Confusion about fromfp specification<o:p></o:p></span></p></div><div><div style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">Hey Rajan! I'd like to make sure I'm interpreting the tea leaves the<br>proper way for 7.12.9.10p2. The confusion comes from this bit:<br><br>Otherwise, if width is zero or x does not round to an integer within<br>the range, the functions return a NaN (of the type of the x argument,<br>if available), else the value of x, and a domain error occurs.<br><br>Are the parentheses slightly wrong there? I think the only way I can<br>make sense of this is as-if it were written:<br><br>Otherwise, if width is zero or x does not round to an integer within the range<br>  * the functions return a NaN (of the type of the x argument), if available,<br>  * else the value of x,<br>and a domain error occurs.<br><br>Is that a correct interpretation? If so, should the parens move to not<br>include "if available"?<br><br>Thanks!<br><br>~Aaron</span></div></div></div></div></div></div></blockquote></div><br></div></div></body></html>