gcc/libstdc++-v3/testsuite/std/format/functions
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
..
107871.cc libstdc++: Add casts for integer-like difference type [PR107871] 2022-12-06 21:38:46 +00:00
format.cc libstdc++: Add std::formatter specializations for extended float types 2023-08-17 20:24:18 +01:00
format_c++23.cc libstdc++: Disable PCH for tests that rely on include order 2023-08-17 08:42:45 +01:00
format_to.cc libstdc++: Constrain __format::_Iter_sink for contiguous iterators [PR110917] 2023-08-07 22:09:11 +01:00
format_to_n.cc libstdc++: Fix std::format_to_n return value [PR110990] 2023-08-11 23:27:59 +01:00
size.cc
vformat_to.cc