[Cfp-interest 2763] Re: CFP review of NB comments on CD2 - 20230602

Jim Thomas jaswthomas at sbcglobal.net
Sun Jun 4 11:58:44 PDT 2023


I think this is regarding US-200. 

Each thread has its own floating-point environment. The floating-point environment has thread storage duration. The floating-point environment for a thread is initialized from the parent thread's floating-point environment when the thread is created which is by a function call.

- Jim Thomas

> On Jun 3, 2023, at 9:09 AM, Fred J. Tydeman <tydeman at tybor.com> wrote:
> 
> On Fri, 2 Jun 2023 16:05:47 -0700 Jim Thomas wrote:
>> 
>> https://wiki.edg.com/pub/CFP/WebHome/ISO_IEC_CD_9899.2_Collated_Comments-jwt-20230602.pdf
>> 
> 
> Page 49: F.9.1#3:
> For multiple threads, the values of variables could depend upon FP exceptions.
> So, the value set in one thread would matter for the value read in another thread.
> 
> ---
> 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