[Cfp-interest 2050] Re: remquo()

Jim Thomas jaswthomas at sbcglobal.net
Mon Jul 5 16:25:29 PDT 2021



> On Jul 1, 2021, at 9:49 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> On Thu, 1 Jul 2021 20:37:26 -0700 Jim Thomas wrote:
>> 
>>>> Subnormals are supported with Annex F, so the first part of current #2 is not needed. With these changes we would have
>>> 
>>> Since long double can be "non-IEC 60559 extended format"
>>> it is not clear to me that subnormals are support for all FP types.
>> 
>> Right. It might be more direct to say
>> 
>> For IEC 60559 formats, the returned value is exact and is independent of the current rounding direction mode.
> 
> If alternate exception handling (abruptUnderflow) of IEEE-754-2019
> every gets adopted by C, that would be wrong.

Suggestion retracted.

- Jim Thomas

> 
> Also, fmod() and remainder() have the same sentence.
> 
> ---
> 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