3 ms·
I had no idea this feature existed! Does it behave usefully in a multithreaded context?
by pjc50 7y ago
I had no idea this feature existed! Does it behave usefully in a multithreaded context?
- dfranke 7y agoI think it uses thread-local storage like errno does, but I'd have to verify.
- clarry 7y agoYes it does. N1570 7.6: > The floating-point environment has thread storage duration. The initial state for a thread's floating-point environment is the current state of the floating-point environment of the thread that creates it at the time of creation.