summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
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/tex/latex
parent239cf9b4f7376e59672e1c6df16e3c4cf2cd4ef0 (diff)
siunitx (31may22)
git-svn-id: svn://tug.org/texlive/trunk@63459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 84db69f1966..6975e81ca55 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -42,7 +42,7 @@
}%
\endinput
}%
-\ProvidesExplPackage {siunitx} {2022-05-03} {3.1.1}
+\ProvidesExplPackage {siunitx} {2022-05-31} {3.1.2}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -2532,7 +2532,8 @@
\exp_not:n { {#2} {#3} }
\__siunitx_number_exponent_shift:nnn {#1} {#4} {#5}
\__siunitx_number_exponent_uncert:n {#6}
- \exp_not:n { {#7} } { \int_use:N \l__siunitx_number_exponent_fixed_int }
+ { \int_compare:nNnT \l__siunitx_number_exponent_fixed_int < 0 { - } }
+ { \int_abs:n \l__siunitx_number_exponent_fixed_int }
}
\cs_new:Npn \__siunitx_number_exponent_input:nnnnnnn #1#2#3#4#5#6#7
{ \exp_not:n { {#1} {#2} {#3} {#4} {#5} {#6} {#7} } }