Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@
#define @\defnlibxname{cpp_lib_three_way_comparison}@ 201907L // freestanding, also in \libheader{compare}
#define @\defnlibxname{cpp_lib_to_address}@ 201711L // freestanding, also in \libheader{memory}
#define @\defnlibxname{cpp_lib_to_array}@ 201907L // freestanding, also in \libheader{array}
#define @\defnlibxname{cpp_lib_to_chars}@ 202306L // also in \libheader{charconv}
#define @\defnlibxname{cpp_lib_to_chars}@ 202606L // also in \libheader{charconv}
#define @\defnlibxname{cpp_lib_to_string}@ 202306L // also in \libheader{string}
#define @\defnlibxname{cpp_lib_to_underlying}@ 202102L // freestanding, also in \libheader{utility}
#define @\defnlibxname{cpp_lib_transformation_trait_aliases}@ 201304L // freestanding, also in \libheader{type_traits}
Expand Down
13 changes: 9 additions & 4 deletions source/text.tex
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,18 @@
\begin{itemdescr}
\pnum
\effects
Let \tcode{T} be \tcode{\placeholder{floating-point-type}}.
\tcode{value} is converted to a string
in the style of \tcode{printf}
in the \tcode{"C"} locale.
The conversion specifier is \tcode{f} or \tcode{e},
chosen according to the requirement for a shortest representation
(see above);
a tie is resolved in favor of \tcode{f}.
The conversion specifier is \tcode{f} if
the absolute value of \tcode{value} is in the range $[l, u)$, where
$l$ is the smallest value larger or equal to $10^{-4}$
that is representable by \tcode{T} and
$u$ is the largest value smaller or equal to
$\tcode{std::numeric_limits<T>::radix}^{\tcode{std::numeric_limits<T>::digits+1}}$
rounded down to the nearest power of 10 representable by \tcode{T},
otherwise \tcode{e}.

\pnum
\throws
Expand Down
Loading