From 3e761ff7aed41b108eb12449b49f2e9ab58b3fb5 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sun, 3 Mar 2024 12:28:33 +0100 Subject: [PATCH] [charconv.to.chars] Itemize mapping of chars_format onto conversion specifiers --- source/utilities.tex | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/source/utilities.tex b/source/utilities.tex index 0cf351ef54..0c1a770651 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -15335,15 +15335,22 @@ \tcode{round_to_nearest}\iref{round.style}. \pnum -The functions taking a \tcode{chars_format} parameter -determine the conversion specifier for \tcode{printf} as follows: -The conversion specifier is -\tcode{f} if \tcode{fmt} is \tcode{chars_format::fixed}, -\tcode{e} if \tcode{fmt} is \tcode{chars_format::scientific}, +In the functions taking a \tcode{chars_format} parameter, +the conversion specifier for \tcode{printf} is +\begin{itemize} +\item +\tcode{f} +if \tcode{fmt} is \tcode{chars_format::fixed}, +\item +\tcode{e} +if \tcode{fmt} is \tcode{chars_format::scientific}, +\item \tcode{a} (without leading \tcode{"0x"} in the result) -if \tcode{fmt} is \tcode{chars_format::hex}, -and -\tcode{g} if \tcode{fmt} is \tcode{chars_format::general}. +if \tcode{fmt} is \tcode{chars_format::hex}, and +\item +\tcode{g} +if \tcode{fmt} is \tcode{chars_format::general}. +\end{itemize} \indexlibraryglobal{to_chars}% \begin{itemdecl}