8 Oct
2025
8 Oct
'25
4:07 p.m.
Does the default format `{}` output ("shortest") round-trip representation, like float and double? It'd be clearer if this is written in the documentation.
Also, it seems that round-tripping sometimes fails with the current implementation; `std::println("{}", "0.99999999"_DD);` outputs `1` instead of `0.99999999`.
The format "{}" is general format with 6 digits of precision, so 1 would be correct. I'll update the docs accordingly. Matt