summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-31 19:45:21 +0000
committerKarl Berry <karl@freefriends.org>2022-05-31 19:45:21 +0000
commit9c6b4db391c5d4f8b94800929e0c9dd5c7faaeda (patch)
treee347b5e3cf48302dba1238525d82795094c1def1 /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
parent239cf9b4f7376e59672e1c6df16e3c4cf2cd4ef0 (diff)
siunitx (31may22)
git-svn-id: svn://tug.org/texlive/trunk@63459 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.dtx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
index f64fb851929..2f153d46864 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
@@ -2042,7 +2042,8 @@
\exp_not:n { {#2} {#3} }
\@@_exponent_shift:nnn {#1} {#4} {#5}
\@@_exponent_uncert:n {#6}
- \exp_not:n { {#7} } { \int_use:N \l_@@_exponent_fixed_int }
+ { \int_compare:nNnT \l_@@_exponent_fixed_int < 0 { - } }
+ { \int_abs:n \l_@@_exponent_fixed_int }
}
\cs_new:Npn \@@_exponent_input:nnnnnnn #1#2#3#4#5#6#7
{ \exp_not:n { {#1} {#2} {#3} {#4} {#5} {#6} {#7} } }