https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99261
--- Comment #3 from seurer at gcc dot gnu.org ---
char to_chars_buffer[output_length];
auto result = to_chars(to_chars_buffer,
to_chars_buffer+output_length,
value, fmt, precision);
VERIFY( result.ec == errc{} );
VERIFY( !memcmp(printf_buffer, to_chars_buffer, output_length) );
Dumping out the values of things on the VERIFY that fails I see
output_length: 8
printf_buffer: 1.000000
to_chars_buffer: 0???????
There is another PR for the long_double test cases but that is something
different unless this fix triggers the other thing.