gcc/libstdc++-v3/testsuite/std/format
Jonathan Wakely 6cf214b4fc libstdc++: Add std::formatter specializations for extended float types
This makes it possible to format _Float32, _Float64 etc. in C++20 mode.
Previously it was only possible to format them in C++23 when the
<stdfloat> typedefs and the std::to_chars overloads were defined.

Instead of relying on std::to_chars for those types, we can just reuse
the formatters for float, double and long double. This also avoids
template bloat by reusing the same specializations instead of
instantiating __formatter_fp for every different type.

libstdc++-v3/ChangeLog:

	* include/std/format (formatter): Add partial specializations
	for extended floating-point types.
	* testsuite/std/format/functions/format.cc: Move test_float128()
	to ...
	* testsuite/std/format/formatter/ext_float.cc: New test.
2023-08-17 20:24:18 +01:00
..
arguments libstdc++: Reorder dg-options before dg-do 2023-02-24 14:18:35 +00:00
formatter libstdc++: Add std::formatter specializations for extended float types 2023-08-17 20:24:18 +01:00
functions libstdc++: Add std::formatter specializations for extended float types 2023-08-17 20:24:18 +01:00
error.cc
format_string.cc libstdc++: Fix constraint on std::basic_format_string [PR108024] 2022-12-12 14:00:09 +00:00
parse_ctx.cc libstdc++: Fix P2510R3 "Formatting pointers" [PR110149] 2023-06-09 13:08:25 +01:00
string.cc libstdc++: Fix out-of-bounds read in format string "{:{}." [PR110974] 2023-08-10 23:31:37 +01:00
string_neg.cc