diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-04-26 11:42:26 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-04-26 15:57:38 +0100 |
commit | a0bc71e480132a528a4869c1cd7863f709768c53 (patch) | |
tree | 1faa6286f456cef50af8497bb18999adc06b310e /gcc | |
parent | 7d5479a2ecf6309281de10b747a7423169a2ff95 (diff) | |
download | gcc-a0bc71e480132a528a4869c1cd7863f709768c53.zip gcc-a0bc71e480132a528a4869c1cd7863f709768c53.tar.gz gcc-a0bc71e480132a528a4869c1cd7863f709768c53.tar.bz2 |
libstdc++: Do not apply localized formatting to NaN and inf [PR114863]
We don't want to add grouping to strings like "-inf", and there is no
radix character to replace either.
libstdc++-v3/ChangeLog:
PR libstdc++/114863
* include/std/format (__formatter_fp::format): Only use
_M_localized for finite values.
* testsuite/std/format/functions/format.cc: Check localized
formatting of NaN and initiny.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions