[Bug libstdc++/123078] std::from_chars handles signedness of zero in underflow inconsistently with floating-point literals
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 10 11:44:05 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123078
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-12-10
Ever confirmed|0 |1
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jan Schultke from comment #1)
> roundTiesToEven has no exception that would apply here, and
> https://eel.is/c++draft/charconv.from.chars#lib:from_chars specifies that
> round_to_nearest is to be used, which is intended to mirror those ISO/IEC
> 60559 modes.
It's says "closest" but it's not clear that it means round_to_nearest.
This is https://cplusplus.github.io/LWG/issue3082
More information about the Gcc-bugs
mailing list