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
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/design.adoc
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,11 @@ The standard for <charconv> does not distinguish between underflow and overflow
61
61
`boost::decimal::from_chars` modifies `value` in order to communicate this to the user in a divergence from the standard.
62
62
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`].
63
63
64
+
=== `from_chars` Supports Rounding Mode
65
+
66
+
The pass:[C++] specification states that `from_chars` resulting value is to be rounded to nearest.
67
+
Since the types in this library are more sensitive to rounding mode differences, `from_chars` rounds using the current global rounding mode as reported by `fegetround()`.
0 commit comments