Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisdairM committed Nov 22, 2023
1 parent c047931 commit a33c38d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
\tcode{to_string} and \tcode{to_wstring} function calls that take
floating-point arguments may produce a different output.
For example:
\begin{codeblock}
auto s = std::to_string(1e-7); // \tcode{"1e-07"}
// previously \tcode{"0.000000"} with \tcode{'.'} possibly
// changed according to the global C locale
\end{codeblock}

\rSec2[diff.cpp23.depr]{\ref{depr}: compatibility features}

Expand Down

0 comments on commit a33c38d

Please sign in to comment.