diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-04 22:28:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-04 22:28:38 +0000 |
commit | 02788973cf9eb2069962d1c6eab78288ef6f40e8 (patch) | |
tree | ae6b55f8f7c93c537fbe8e8ca148fae7242dfd81 /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | |
parent | aed6f913084c995b5dfac04796c74db1904ffc66 (diff) |
siunitx (4jan22)
git-svn-id: svn://tug.org/texlive/trunk@61492 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index a7b3594d9d6..bb3abd6b7a3 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -601,7 +601,7 @@ % must be present in a stored number (\foreign{i.e.}~at the end of parsing). % The number must have at least one digit for both the \meta{integer} and % \meta{exponent} parts. -% +% % A non-empty \meta{uncertainty} must contain one leading brace group % containing an identifier, then zero or more brace groups which contain % the uncertainty data. In this release, the known uncertainty types are @@ -1662,7 +1662,7 @@ % % \begin{variable}{\l_@@_round_min_tl} % For storing the minimum for rounding. -% \begin{macrocode} +% \begin{macrocode} \tl_new:N \l_@@_round_min_tl % \end{macrocode} % \end{variable} @@ -1672,7 +1672,7 @@ % For setting the rounding minimum, the aim is to do as much of the work % now as possible. That's mainly a question of checking if there are any % significant digits in the mantissa given. -% \begin{macrocode} +% \begin{macrocode} \cs_new_protected:Npn \@@_set_round_min:n #1 { \siunitx_number_parse:nN {#1} \l_@@_tmp_tl @@ -1952,7 +1952,7 @@ #2 \@@_exponent_uncert:n { { S } { 0 } } } - { + { \use:c { @@_exponent_shift_uncert_ \use_i:nn #3 :fnnn } { \prg_replicate:nn {#1} { 0 } } {#2} @@ -2846,7 +2846,7 @@ \exp_args:Nf \@@_round_uncertainty_simple:nnnnn { \prg_replicate:nn - { + { \int_max:nn { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) } { 0 } @@ -2856,7 +2856,7 @@ {#3} {#4} {#2} {#5} } { \@@_round_uncertainty_shift:nnnnn {#3} {#4} {#1} {#2} {#5} } - + } % \end{macrocode} % The simple case: round and pad out the uncertainty as required. @@ -3268,7 +3268,7 @@ } % \end{macrocode} % As color for negative values applies to the \emph{whole} output, we have -% to deal with it before anything else. +% to deal with it before anything else. % \begin{macrocode} \cs_new:Npn \@@_output_color:n #1 { |