aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-01-17 14:33:12 -0500
committerPatrick Palka <ppalka@redhat.com>2022-01-17 14:33:12 -0500
commit490e23032baaece71f2ec09fa1805064b150fbc2 (patch)
tree1dd05a227a387dcfd145207bdcb28fd810a78a07 /gcc/final.cc
parent40b0d4472a2591cf27f3a81aa3fba57dc4532648 (diff)
downloadgcc-490e23032baaece71f2ec09fa1805064b150fbc2.zip
gcc-490e23032baaece71f2ec09fa1805064b150fbc2.tar.gz
gcc-490e23032baaece71f2ec09fa1805064b150fbc2.tar.bz2
libstdc++: Use fast_float in std::from_chars for binary32/64
This makes our std::from_chars implementation use fast_float for decimal parsing of binary32/64 numbers. For other floating-point formats we still use the fallback implementation that goes through the strtod family of functions. libstdc++-v3/ChangeLog: * src/c++17/floating_from_chars.cc: (USE_LIB_FAST_FLOAT): Conditionally define, and use it to conditionally include fast_float. (from_chars): Use fast_float for float and double when USE_LIB_FAST_FLOAT.
Diffstat (limited to 'gcc/final.cc')
0 files changed, 0 insertions, 0 deletions