Open jakubjelinek opened 1 year ago
This is very reasonable and we will add (and test) such support as soon as mainstream compiler releases support C++23. At the moment, it looks like GCC 13 is not yet released.
That's right, new GCC versions are usually released around April or May each year.
GCC 13 is now widely available.
I have begun the work but I am not yet getting a clean build.
Just FYI, in GCC we've added support for from_chars for the C++23 std::{,b}float16_t support in https://gcc.gnu.org/r13-3592 . We've done it by using an artificial wrapper class for each of those and by using float as container type on the library boundary so that we don't need to change library ABI whenever some new architecture decides to start supporting those formats. But if you'd want to have direct support for these types in upstream, it could be a matter of:
And add specializations for {min,max}_exponent_fast_path, max_mantissa_fast_path and exact_power_of_ten (those we didn't need for GCC because we've omitted for these the Clinger's fast path).