]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Another merge from fast_float upstream [PR107468]
authorJakub Jelinek <jakub@redhat.com>
Thu, 24 Nov 2022 09:38:42 +0000 (10:38 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 24 Nov 2022 09:38:42 +0000 (10:38 +0100)
commitec73b55c75baa16c1cf7482fa65928a8d45598d4
treecf9fa65f5e75a84d8d8e7495d7672a86f0b36cd3
parentd1389be011f0fac422e98e795c55156052c4d960
libstdc++: Another merge from fast_float upstream [PR107468]

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++.

2022-11-24  Jakub Jelinek  <jakub@redhat.com>

PR libstdc++/107468
* src/c++17/fast_float/MERGE: Adjust for merge from upstream.
* src/c++17/fast_float/fast_float.h: Merge from fast_float
2ef9abbcf6a11958b6fa685a89d0150022e82e78 commit.
libstdc++-v3/src/c++17/fast_float/MERGE
libstdc++-v3/src/c++17/fast_float/fast_float.h