[Cfp-interest] AI about revised TC for TS DR 16 about tgmath cbrt macro

Jim Thomas jaswthomas at sbcglobal.net
Tue Feb 27 17:07:13 PST 2018


Hmm. TS 18661-2 also adds a tgmath cbrt macro. So we have

	The original one in 6.5.1.1, to illustrate _Generic
	One in 7.25#6b added by TS 18661-1, to accommodate constant rounding modes
	One in 7.25#6c added by TS 18661-2, to accommodate decimal types
	One in 7.25#6d added by TS 18661-3, to accommodate interchange and extended types

DR 16 addresses the last of these, but the same issues (and fixes) apply to the other two added to 7.25. It would be straight forward to write a new DR for them. But do we really need all these examples of tgmath cbrt macros? Some alternatives are:

1. Omit the one in 7.25#6d added by TS 18661-3. Given the one for decimal, it’s fairly easy to think how to extended it for interchange and extended types.

2. Omit both the one in 7.25#6d added by TS 18661-3 and also the one in 7.25#6c added by TS 18661-2. Are they really needed?

3. Change TS 18661-3 so that, instead of adding 7.25#6d, it replaces the content of 7.25#6c with the content now in 7.25#6d.

Opinions and comments welcome.

- Jim Thomas

> On Feb 26, 2018, at 9:14 PM, Jim Thomas <jaswthomas at sbcglobal.net> wrote:
> 
> The issues in DR 16 about the tgmath cbrt macro apply to the tgmath cbrt macro introduced by TS 18661-3 to cover its new types. See TS 18661-3, clause 15, “After 7.25#6c, add the paragraph: …”.
> 
> I propose to write a new DR and get a new N number.
> 
> - Jim Thomas
> 
>> On Feb 24, 2018, at 2:25 PM, Jim Thomas <jaswthomas at sbcglobal.net <mailto:jaswthomas at sbcglobal.net>> wrote:
>> 
>> Action item:
>> 
>>> Jim: Get a new N document for the new proposed TC for TS DR16.
>>> 
>> 
>> 
>> Please review:
>> 
>> http://wiki.edg.com/pub/CFP/WebHome/Revised_suggested_TC_for_CFP_DR_16-20180224.pdf <http://wiki.edg.com/pub/CFP/WebHome/Revised_suggested_TC_for_CFP_DR_16-20180224.pdf>
>> 
>> - Jim Thomas
> 
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20180227/94b2f13f/attachment-0001.html 


More information about the Cfp-interest mailing list