You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following functions analogous to those from https://en.cppreference.com/w/cpp/header/charconv[<charconv>] are provided:
14
14
15
+
IMPORTANT: `std::from_chars` has an open issue with LWG here: https://cplusplus.github.io/LWG/lwg-active.html#3081.
16
+
The standard for <charconv> does not distinguish between underflow and overflow like strtod does.
17
+
`boost::decimal::from_chars` modifies `value` in order to communicate this to the user in a divergence from the standard.
18
+
This behavior is the same as that of https://www.boost.org/doc/libs/master/libs/charconv/doc/html/charconv.html#from_chars_usage_notes_for_from_chars_for_floating_point_types[`boost::charconv::from_chars_erange`].
19
+
15
20
[source, c++]
16
21
----
17
22
namespace boost {
@@ -67,3 +72,44 @@ NOTE: `BOOST_DECIMAL_CONSTEXPR` is defined if:
0 commit comments