diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-01-17 14:32:16 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-01-17 14:32:16 -0500 |
commit | 2800bc08e4ab4c116f556f17791936c889191fbf (patch) | |
tree | 86e132633eb307ffb03932802746ece7170fc8d6 /libcpp/errors.c | |
parent | cc3bf3404e4b1cdd1110e450bd5df45fdaaaae85 (diff) | |
download | gcc-2800bc08e4ab4c116f556f17791936c889191fbf.zip gcc-2800bc08e4ab4c116f556f17791936c889191fbf.tar.gz gcc-2800bc08e4ab4c116f556f17791936c889191fbf.tar.bz2 |
libstdc++: Import the fast_float library
We're going to use the fast_float library[1] in our (compiled-in)
floating-point std::from_chars implementation for faster and more
portable parsing of binary32/64 decimal strings.
The single file fast_float.h is an amalgamation of the entire library,
which can be (re)generated with the amalgamate.py script (from the
fast_float repository) via the command
python3 ./script/amalgamate.py --license=MIT \
> $GCC_SRC/libstdc++-v3/c++17/fast_float/fast_float.h
The code has a GPL-compatible license.
[1]: https://github.com/fastfloat/fast_float
libstdc++-v3/ChangeLog:
* src/c++17/fast_float/LOCAL_PATCHES: New file.
* src/c++17/fast_float/MERGE: New file.
* src/c++17/fast_float/README.md: New file, copied from the
fast_float repository.
* src/c++17/fast_float/fast_float.h: New file, an amalgamation
of the fast_float library.
Signed-off-by: Patrick Palka <ppalka@redhat.com>
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions