[Cfp-interest 1848] Re: fmax, fmin

Jim Thomas jaswthomas at sbcglobal.net
Fri Nov 20 15:48:55 PST 2020



> On Nov 19, 2020, at 6:32 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> On Thu, 19 Nov 2020 18:13:14 -0800 Jim Thomas wrote:
>> 
>>> I am not sure what I should be doing here about this item.
>> 
>> Is this for the action item:
>> 
>>   Fred: Write a paper to remove the fminfN/fmaxfN/fmindN/... functions from part 3 as an annex.
> 
> Yes it is.
> 
>> The action item seems fairly specific, and only pertains to the part 3 annex. Your last change below is about the action item.
>> 
>> I thought we had decided not to remove or obsolesce the fmax and fmin functions in the C23 draft (not including the part 3 annex).
> 
> Since the decimal FP stuff is new to C23, what about:
> 
>> Remove fmaxd32, fmaxd64, fmaxd128.
>> Remove fmind32, fmind64, fmind128.

These are different from the new part 3 annex functions in that they were in part 2 and in TR 24732 (2008). I believe they are more widely implemented and used than the part 3 functions.

- Jim Thomas

> 
> 
>> We should replace use of fmax in G.5.1#8. Did you check that fmaximum is a good replacement, i.e., that fmaximum_num isn't needed? 
> 
> I did not check that choice.
> 
>> It would be good to look for any other needed cleanup from adding the new max-min functions.
> 
> OK
> 
> 
> 
> ---
> 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.
> 
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest




More information about the Cfp-interest mailing list