[Cfp-interest 2961] Re: footnote to clarify WANT macro requirement for decimal types

Fred J. Tydeman tydeman at tybor.com
Fri Nov 10 18:18:40 PST 2023


On Fri, 10 Nov 2023 09:16:34 -0800 Jim Thomas wrote:
>
>Regarding action item
>
>>     Jim: Add a footnote to Part 4, Clause 6 when it describes dN for N != 32, 64, 128 to say N = 32, 64, 128 are covered due to them being 60559 types and covered in Annex F.
>
>
>I suggest adding a footnote in Clause 6 to the sentence:
>
>An implementation shall declare the functions suffixed with dN for N  32, 64 or 128 or with dNx only if it supports the corresponding decimal floating type and the macro __STDC_WANT_IEC_60559_TYPES_EXT__ is defined at the point in the code where <reduc.h> is first included.
>
>where the footnote is:
>
>For N = 32, 64 and 128, the functions suffixed with dN shall be declared if the implementation supports decimal floating types (i.e. defines __STDC_IEC_60559_DFP__), without the requirement that the macro __STDC_WANT_IEC_60559_TYPES_EXT__ be defined.
>
>
>Please send any comments to CFP ASAP.

I am not sure a 'shall' can be in a footnote.


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



More information about the Cfp-interest mailing list