summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-16 21:25:23 +0000
committerKarl Berry <karl@freefriends.org>2022-11-16 21:25:23 +0000
commit41cf80ce30c6e274ed682de0b2303646d728c99c (patch)
treee045c032280ca7aa86cc8f868ac0f0f93b16c8c5 /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
parent61e0965a47ab8c42da627a28651ea8b2923803c9 (diff)
siunitx (16nov22)
git-svn-id: svn://tug.org/texlive/trunk@65033 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.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
index 1d11f909f07..b88e369c08d 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
@@ -3168,9 +3168,9 @@
{
\use:e
{
- \exp_not:N \@@_round_uncertainty:nnnnn
+ \exp_not:N \@@_round_uncertainty:nnnnnn
\@@_round:nnn {#1} { } {#4}
- {#2} {#3} {#1}
+ {#2} {#3} {#1} {#4}
}
}
% \end{macrocode}
@@ -3179,7 +3179,7 @@
% the uncertainty rounded up, which also links to additional treatment. We
% therefore split paths here.
% \begin{macrocode}
-\cs_new:Npn \@@_round_uncertainty:nnnnn #1#2#3#4#5
+\cs_new:Npn \@@_round_uncertainty:nnnnnn #1#2#3#4#5#6
{
\tl_if_blank:nTF {#1}
{
@@ -3191,7 +3191,7 @@
{
\tl_if_blank:nTF {#4}
{ #5 }
- { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) }
+ { ( \tl_count:n {#6} - \tl_count:n {#4} ) - \tl_count:n {#2} }
}
{ 0 }
}