[Bug libstdc++/126731] `std::format("{}", std::float16_t)` does not agree with `std::to_chars`
"tkaminsk at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126731
Tomasz Kamiński <tkaminsk at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |16.3
--- Comment #3 from Tomasz Kamiński <tkaminsk at gcc dot gnu.org> ---
Fixed for both trunk (17) and 16.3. Patch cannot be back-ported further due
dependency on r16-616-g9c9a7316adb996, and removing the formatter
specializations without that change, will lead to inconsistent behavior between
calling std::format with (b)float16_t as argument and
formatter<(b)float16_t>::format.