diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-05 03:00:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-05 03:00:57 +0000 |
commit | c03c0d515f1bfbd111d40e78805db4696e080fb8 (patch) | |
tree | 4d72d1df66079b3937776da41a78d71189719dad /macros/latex/contrib/siunitx/siunitx-number.dtx | |
parent | 1903b598f8dda613f5c584bb18ccfd2fd8c278bb (diff) |
CTAN sync 202201050300
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-number.dtx')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-number.dtx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx index a7b3594d9d..bb3abd6b7a 100644 --- a/macros/latex/contrib/siunitx/siunitx-number.dtx +++ b/macros/latex/contrib/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 { |