libstdc++: Import parts of the Ryu library
authorPatrick Palka <ppalka@redhat.com>
Fri, 18 Dec 2020 04:11:12 +0000 (23:11 -0500)
committerPatrick Palka <ppalka@redhat.com>
Fri, 18 Dec 2020 04:11:12 +0000 (23:11 -0500)
commite3f0eaa2829df5842b886fcc1e9b54da767fc65a
treedb3496f87b00cd5f38ed7eeab68275663dc97fc9
parent731a32b3fa779bd5bcff7571ce66b8a79ee2d336
libstdc++: Import parts of the Ryu library

This imports the source files from the Ryu library that define
d2s_buffered_n, f2s_buffered_n, d2fixed_buffered_n, d2exp_buffered_n and
generic_binary_to_decimal, which we're going to use as the base of our
std::to_chars implementation.

libstdc++-v3/ChangeLog:

* src/c++17/ryu/MERGE: New file.
* src/c++17/ryu/common.h, src/c++17/ryu/d2fixed.c,
src/c++17/ryu/d2fixed_full_table.h, src/c++17/ryu/d2s.c,
src/c++17/ryu/d2s_full_table.h, src/c++17/ryu/d2s_intrinsics.h,
src/c++17/ryu/digit_table.h, src/c++17/ryu/f2s.c,
src/c++17/ryu/f2s_intrinsics.h, src/c++17/ryu/generic_128.c,
src/c++17/ryu/generic_128.h, src/c++17/ryu/ryu_generic_128.h:
Import these files from the Ryu library.
13 files changed:
libstdc++-v3/src/c++17/ryu/MERGE [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/common.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/d2fixed.c [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/d2fixed_full_table.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/d2s.c [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/d2s_full_table.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/d2s_intrinsics.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/digit_table.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/f2s.c [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/f2s_intrinsics.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/generic_128.c [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/generic_128.h [new file with mode: 0644]
libstdc++-v3/src/c++17/ryu/ryu_generic_128.h [new file with mode: 0644]