https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123078

--- Comment #12 from Jan Schultke <janschultke at googlemail dot com> ---
Also note the original design discussion on std::from_chars in P0067R5:

> There are two failure modes:
> no characters match, or
> the pattern translates to a value that is not in the range representable by T.

There is nothing in design discussion or the wording that suggests that
underflow or lack of precision would result in a "failure mode". Rejecting an
input for being too close to zero (like libstdc++, unlike other
implementations) is arbitrary and incorrect.

Reply via email to