Re: [PATCH] libstdc++: Another merge from fast_float upstream [PR107468]

2022-11-24 Thread Jonathan Wakely via Gcc-patches
On Thu, 24 Nov 2022 at 09:23, Jakub Jelinek wrote: > > Hi! > > Upstream fast_float came up with a cheaper test for > fegetround () == FE_TONEAREST using one float addition, one subtraction > and one comparison. If we know we are rounding to nearest, we can use > fast path in more cases as before.

[PATCH] libstdc++: Another merge from fast_float upstream [PR107468]

2022-11-24 Thread Jakub Jelinek via Gcc-patches
Hi! Upstream fast_float came up with a cheaper test for fegetround () == FE_TONEAREST using one float addition, one subtraction and one comparison. If we know we are rounding to nearest, we can use fast path in more cases as before. The following patch merges those changes into libstdc++. Bootst