Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/text.tex
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@
\tcode{value} is set to the parsed value,
after rounding according to \tcode{round_to_nearest}\iref{round.style}, and
the member \tcode{ec} is value-initialized.
\begin{note}
If the parsed value is too small to be represented,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"too small" could mean -1e3000, but we don't mean that.

Please pass this through LWG; this needs exposition to the implementers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have LWG3081

\tcode{ec} is value-initialized and
\tcode{value} is set to a zero with the same sign as the parsed value before rounding.
\end{note}

\indexlibraryglobal{from_chars}%
\begin{itemdecl}
Expand Down