[Cfp-interest] update to predefined macros

Jim Thomas jaswthomas at sbcglobal.net
Thu Feb 9 15:13:59 PST 2012


I ended up changing more than we talked about here. Please review ASAP and let me know if you see any problems.

-Jim

5    Predefined macros

The following suggested change to C11 replaces __STDC_IEC_559__, the conformance macro for Annex F, with __STDC_IEC_60559_BFP__, for consistency with other conformance macros and to distinguish its application to binary floating-point arithmetic. Note that an implementation may continue to define __STDC_IEC_559__, so that current strictly conforming programs that use  __STDC_IEC_559__ will remain valid under the suggested changes in Part 1 of this Technical Specification.

Suggested change to C11:

In 6.10.8.3, replace the __STDC_IEC_559__ item with:

__STDC_IEC_60559_BFP__   The integer constant 201ymmL, intended to indicate conformance to Annex F (IEC 60559 binary floating-point arithmetic).

The following suggested changes to C11 obsolesce __STDC_IEC_559_COMPLEX__, the current conformance macro for Annex G, in favour of __STDC_IEC_60559_COMPLEX__, for consistency with other conformance macros.

Suggested changes to C11:

In 6.10.8.3, after the new __STDC_IEC_60559_BFP__ item, insert the item:

__STDC_IEC_60559_COMPLEX__ The integer constant 201ymmL, intended to indicate conformance to the specifications in annex G (IEC 60559 compatible complex arithmetic).

In 6.10.8.3, append to the __STDC_IEC_559_COMPLEX item:

Use of this macro is an obsolescent feature.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20120209/0734d0b6/attachment.html 


More information about the Cfp-interest mailing list