[Cfp-interest 2556] Optional range errors

Fred J. Tydeman tydeman at tybor.com
Sat Oct 29 11:41:07 PDT 2022


<math.h>, 7.12.1 Treatment of error conditions has:

281) Range errors that are required or implementation-defined shall or may be reported, as specified in this subclause.

It seems to me that "or may"  is wrong.  Why is it there?

Is it supposed to be two conditions as:
 Range errors that are required shall  be reported, as specified in this subclause.
 Range errors that are  implementation-defined may be reported, as specified in this subclause.

---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list