Affected subclause: [string.conversions]
Change: Output of floating-point overloads of
to_string and
to_wstring. Rationale: Prevent loss of information and improve consistency with other formatting
facilities
. Effect on original feature: to_string and
to_wstring function calls that take
floating-point arguments may produce a different output
. For example:
auto s = std::to_string(1e-7);