<span style=" font-size:10pt;font-family:sans-serif">The wording we agreed
to (from the minutes) for </span><tt><span style=" font-size:10pt">7.12.6.3#2</span></tt><span style=" font-size:10pt;font-family:sans-serif">was </span><span style=" font-size:10pt;font-family:Arial">&nbsp;&quot;magnitude
of positive finite x is too large&quot;</span><span style=" font-size:10pt;font-family:sans-serif">.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Regards,<br><br>Rajan Bhakta<br>z/OS XL C/C++ Compiler Technical Architect<br>ISO C Standards Representative for Canada, PL22.11 Chair (USA)<br>C Compiler Development<br>Contact: rbhakta@us.ibm.com, Rajan Bhakta/Houston/IBM</span><br><br><br><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">From:
&nbsp; &nbsp; &nbsp; &nbsp;</span><span style=" font-size:9pt;font-family:sans-serif">&quot;Fred
J. Tydeman&quot; &lt;tydeman@tybor.com&gt;</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">To:
&nbsp; &nbsp; &nbsp; &nbsp;</span><span style=" font-size:9pt;font-family:sans-serif">&quot;Jim
Thomas&quot; &lt;jaswthomas@sbcglobal.net&gt;</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Cc:
&nbsp; &nbsp; &nbsp; &nbsp;</span><span style=" font-size:9pt;font-family:sans-serif">CFP
&lt;cfp-interest@ucbtest.org&gt;</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Date:
&nbsp; &nbsp; &nbsp; &nbsp;</span><span style=" font-size:9pt;font-family:sans-serif">08/25/2019
08:13 PM</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Subject:
&nbsp; &nbsp; &nbsp; &nbsp;</span><span style=" font-size:9pt;font-family:sans-serif">[EXTERNAL]
[Cfp-interest 1390] Re: Math functions &amp; range errors</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Sent
by: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style=" font-size:9pt;font-family:sans-serif">cfp-interest-bounces@oakapple.net</span><br><hr noshade><br><br><br><tt><span style=" font-size:10pt">Thanks for reviewing.<br><br>On Sun, 25 Aug 2019 15:15:34 -0700 Jim Thomas wrote:<br>&gt;<br>&gt;&gt; Some implementations consider f(infinity) as a range error based
upon the text: A range error occurs if [the magnitude <br>&gt;of] x is too<br>&gt;&gt; <br>&gt;Consider changing to: &quot;Some implementations incorrectly treat
&quot;.<br><br>Done.<br><br>&gt;&gt; The exp10m1 functions<br>&gt;&gt; Change 7.12.6.3#2 from<br>&gt;&gt; <br>&gt;&gt; A range error occurs if finite x is too large or if the magnitude
of nonzero x is too small.<br>&gt;&gt; to<br>&gt;&gt; <br>&gt;&gt; A range error occurs if finite positive x is too large or if the
magnitude of nonzero x is too small.<br>&gt;I recall David suggesting this be &quot;A range error occurs if the
magnitude of finite positive x is too large .&quot; but am not sure <br>&gt;what we agreed to. <br><br>I also do not recall what we agreed to.<br><br>&gt;With that change we'd be saying &quot;magnitude&quot; wherever talking
about too large or too small. Without <br>&gt;that change we'd be saying &quot;magnitude&quot; &nbsp;just where needed
for correctness.<br><br>&gt;&gt; The compoundn functions<br>&gt;&gt; Change 7.12.7.2#2 from<br>&gt;&gt; <br>&gt;&gt; A range error may occur if n is too large, depending on x.<br>&gt;&gt; to<br>&gt;&gt; <br>&gt;&gt; A range error may occur if n is too large, depending on finite
x.<br>&gt;Do we mean if the magnitude of n is too large?<br><br>Yes. &nbsp;Changed.<br><br>&gt;&gt; The tgamma functions<br>&gt;&gt; Change 7.12.8.4#2<br>&gt;&gt; <br>&gt;&gt; A range error occurs if the magnitude of x is too large and may
occur if the magnitude of x is too small.<br>&gt;&gt; to:<br>&gt;&gt; <br>&gt;&gt; A range error occurs if the magnitude of finite x is too large
and may occur if the magnitude of non-zero x is too small.<br>&gt;How is there a range error if the magnitude of negative x is too large?<br><br>With the FP systems still in use that I know about, all large FP values
are integers. &nbsp;So, large negative values would<br>be integers, so would be domain or pole errors.<br><br>&gt; Can't there be range errors for moderate magnitude <br>&gt;negative x?<br><br>Yes. &nbsp;I think &quot;moderate negative x&quot; could still be considered
&quot;too large&quot;. &nbsp;But, I am open to<br>other wording.<br><br>&gt;A general question: What does &quot;may occur&quot; mean?<br><br>Does not always happen. &nbsp;For example, on IBM S/360 hex FP, there are
no subnormal numbers,<br>so underflows will not happen for many functions, that do happen when subnormals
are supported.<br><br>An alternative wording: &nbsp;A range errors occurs for some finite arguments.<br><br><br>---<br>Fred J. Tydeman &nbsp; &nbsp; &nbsp; &nbsp;Tydeman Consulting<br>tydeman@tybor.com &nbsp; &nbsp; &nbsp;Testing, numerics, programming<br>+1 (702) 608-6093 &nbsp; &nbsp; &nbsp;Vice-chair of PL22.11 (ANSI &quot;C&quot;)<br>Sample C99+FPCE tests: </span></tt><a href="http://www.tybor.com"><tt><span style=" font-size:10pt">http://www.tybor.com</span></tt></a><tt><span style=" font-size:10pt"><br>Savers sleep well, investors eat well, spenders work forever.<br><br>_______________________________________________<br>Cfp-interest mailing list<br>Cfp-interest@oakapple.net<br></span></tt><a href="http://mailman.oakapple.net/mailman/listinfo/cfp-interest"><tt><span style=" font-size:10pt">http://mailman.oakapple.net/mailman/listinfo/cfp-interest</span></tt></a><tt><span style=" font-size:10pt"><br><br></span></tt><br><br><BR>