<div dir="ltr"><div dir="ltr"><div>This note fulfills action item:</div><div><br></div><div>      Research usage of "occur(s)" and how it applies to proposal n3737.</div><div><br></div><div class="gmail_quote"><div dir="ltr"><div dir="ltr"><div>In the 18 March meeting, we discussed the approval of <a href="https://cfp-wiki.esi.com.au/pub/CFP/WebHome/n3737.pdf?_t=1775714338" target="_blank">N3737</a> by WG14. The proposed language tries to clarify the difference between exceptional circumstances in arithmetic, such as floating point overflow, and errors reported in the C context, say, as a range error. The standard does not require that all such exceptions be reported as errors.</div><div><br></div><div>The proposal included a key phrase:</div><div><br></div><div>      An error is said to occur when . . . </div><div><br></div><div>along with other language. WG14 approved the proposal, but removed italic style that had been used on "occur" to emphasize the C context. </div><div><br></div><div>The CFP group is happy with this change, but decided to review the use of "occur" in C2Y to ensure that the usage at hand is consistent. This is a purely informational note on the usage of the verb "to occur" and the noun "occurrence".</div><div><br></div><div>My survey of draft N3685 shows 420 total uses of the words, broken down as:</div><div>     337 uses of "occur" in the sense of "arise" or "happen"</div><div>    83 uses of "occur" in the sense of "appear"</div><div><br></div><div>Instances in the sense of "appear"  can be found throughout section 6, describing the structure of the language and in the many functions related to strings and scanning input.</div><div><br></div><div>The more prevalent form of "occur" pertains to the many kinds of errors that C defines: constraint violation, input failure, encoding error, matching failure, etc., and of course our domain, range, and pole errors in the floating realm. These instances can be found throughout the standard, notably in section 7.</div><div><br></div><div>As the draft stands, the language describing the flavors of floating point errors is completely consistent with other usage throughout the standard.</div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-Jerome Coonen<div> 650.996.4738</div><div> <a href="mailto:jcoonen@gmail.com" target="_blank">jcoonen@gmail.com</a></div></div></div></div></div>
</div>
</div></div>
</div>