summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xint/xintcore.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/xint/xintcore.sty')
-rw-r--r--Master/texmf-dist/tex/generic/xint/xintcore.sty22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/xint/xintcore.sty b/Master/texmf-dist/tex/generic/xint/xintcore.sty
index 5088cdefa12..c0ae2f7d5dc 100644
--- a/Master/texmf-dist/tex/generic/xint/xintcore.sty
+++ b/Master/texmf-dist/tex/generic/xint/xintcore.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% ---------------------------------------------------------------
-%% The xint bundle 1.2f 2016/03/12
+%% The xint bundle 1.2g 2016/03/19
%% Copyright (C) 2013-2016 by Jean-Francois Burnol
%% xintcore: Expandable arithmetic on big integers
%% ---------------------------------------------------------------
@@ -70,7 +70,7 @@
\XINTsetupcatcodes% defined in xintkernel.sty
\XINT_providespackage
\ProvidesPackage{xintcore}%
- [2016/03/12 1.2f Expandable arithmetic on big integers (JFB)]%
+ [2016/03/19 1.2g Expandable arithmetic on big integers (JFB)]%
\ifdefined\m@ne\let\xint_c_mone\m@ne
\else\csname newcount\endcsname\xint_c_mone \xint_c_mone -1 \fi
\newcount\xint_c_x^viii \xint_c_x^viii 100000000
@@ -274,7 +274,7 @@
\def\XINT_reversedigits #1%
{%
\xint_UDsignfork
- #1{\expandafter\xint_minus_thenstop\romannumeral0\XINT_reversedigits_a}%
+ #1{\expandafter-\romannumeral0\XINT_reversedigits_a}%
-{\XINT_reversedigits_a #1}%
\krof
}%
@@ -309,7 +309,7 @@
{%
\xint_UDzerominusfork
#1-{ 0}%
- 0#1{ -1}%
+ 0#1{-1}%
0-{ 1}%
\krof
}%
@@ -416,7 +416,7 @@
}%
\def\XINT_dbl_zero #1\Z { 0}%
\def\XINT_dbl_neg
- {\expandafter\xint_minus_thenstop\romannumeral0\XINT_dbl_pos }%
+ {\expandafter-\romannumeral0\XINT_dbl_pos }%
\def\XINT_dbl_pos #1\Z
{%
\expandafter\XINT_dbl_pos_aa
@@ -481,9 +481,9 @@
0-{\XINT_dec_pos #1}%
\krof
}%
-\def\XINT_dec_zero #1\Z { -1}%
+\def\XINT_dec_zero #1\Z {-1}%
\def\XINT_dec_neg
- {\expandafter\xint_minus_thenstop\romannumeral0\XINT_inc_pos }%
+ {\expandafter-\romannumeral0\XINT_inc_pos }%
\def\XINT_dec_pos #1\Z
{%
\expandafter\XINT_dec_pos_aa
@@ -552,7 +552,7 @@
\def\XINT_add_firstiszero #1\krof 0#2#3\Z #4\Z { #2#3}%
\def\XINT_add_secondiszero #1\krof #20#3\Z #4\Z { #2#4}%
\def\XINT_add_minusminus #1#2%
- {\expandafter\xint_minus_thenstop\romannumeral0\XINT_add_pp_a {}{}}%
+ {\expandafter-\romannumeral0\XINT_add_pp_a {}{}}%
\def\XINT_add_minusplus #1#2{\XINT_sub_mm_a {}#2}%
\def\XINT_add_plusminus #1#2%
{\expandafter\XINT_opp\romannumeral0\XINT_sub_mm_a #1{}}%
@@ -705,7 +705,7 @@
\def\XINT_sub_plusplus #1#2%
{\expandafter\XINT_opp\romannumeral0\XINT_sub_mm_a #1#2}%
\def\XINT_sub_minusplus #1#2%
- {\expandafter\xint_minus_thenstop\romannumeral0\XINT_add_pp_a {}#2}%
+ {\expandafter-\romannumeral0\XINT_add_pp_a {}#2}%
\def\XINT_sub_minusminus #1#2{\XINT_sub_mm_a {}{}}%
\def\XINT_sub_mm_a #1#2#3\Z
{%
@@ -899,9 +899,9 @@
\def\XINT_mul_zero #1\krof #2#3\Z #4\Z { 0}%
\def\XINT_mul_minusminus #1#2{\XINT_mul_plusplus {}{}}%
\def\XINT_mul_minusplus #1#2%
- {\expandafter\xint_minus_thenstop\romannumeral0\XINT_mul_plusplus {}#2}%
+ {\expandafter-\romannumeral0\XINT_mul_plusplus {}#2}%
\def\XINT_mul_plusminus #1#2%
- {\expandafter\xint_minus_thenstop\romannumeral0\XINT_mul_plusplus #1{}}%
+ {\expandafter-\romannumeral0\XINT_mul_plusplus #1{}}%
\def\XINT_mul_plusplus #1#2#3\Z
{%
\expandafter\XINT_mul_pre_b