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.sty28
1 files changed, 5 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/generic/xint/xintcore.sty b/Master/texmf-dist/tex/generic/xint/xintcore.sty
index 5c2950f160c..579e8de0ff0 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.2m 2017/07/31
+%% The xint bundle 1.2n 2017/08/06
%% Copyright (C) 2013-2017 by Jean-Francois Burnol
%% xintcore: Expandable arithmetic on big integers
%% ---------------------------------------------------------------
@@ -70,7 +70,7 @@
\XINTsetupcatcodes% defined in xintkernel.sty
\XINT_providespackage
\ProvidesPackage{xintcore}%
- [2017/07/31 1.2m Expandable arithmetic on big integers (JFB)]%
+ [2017/08/06 1.2n Expandable arithmetic on big integers (JFB)]%
\csname XINT_Clamped_istrapped\endcsname
\csname XINT_ConversionSyntax_istrapped\endcsname
\csname XINT_DivisionByZero_istrapped\endcsname
@@ -141,7 +141,9 @@
\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
-\newcount\xint_c_x^ix \xint_c_x^ix 1000000000
+\ifdefined\xint_c_x^ix\else
+\csname newcount\endcsname\xint_c_x^ix \xint_c_x^ix 1000000000
+\fi
\newcount\xint_c_x^viii_mone \xint_c_x^viii_mone 99999999
\newcount\xint_c_xii_e_viii \xint_c_xii_e_viii 1200000000
\newcount\xint_c_xi_e_viii_mone \xint_c_xi_e_viii_mone 1099999999
@@ -446,19 +448,6 @@
\the\numexpr #9\XINT_unsep_loop
}%
\def\XINT_unsep_clean 1{\relax}%
-\def\XINT_unsepb_loop #1!#2!#3!#4!#5!#6!#7!#8!#9!%
-{%
- \expandafter\XINT_unsep_clean
- \the\numexpr 1#1\expandafter\XINT_unsep_clean
- \the\numexpr 1#2\expandafter\XINT_unsep_clean
- \the\numexpr 1#3\expandafter\XINT_unsep_clean
- \the\numexpr 1#4\expandafter\XINT_unsep_clean
- \the\numexpr 1#5\expandafter\XINT_unsep_clean
- \the\numexpr 1#6\expandafter\XINT_unsep_clean
- \the\numexpr 1#7\expandafter\XINT_unsep_clean
- \the\numexpr 1#8\expandafter\XINT_unsep_clean
- \the\numexpr 1#9\XINT_unsepb_loop
-}%
\def\XINT_unsep_cuzsmall
{%
\expandafter\XINT_unsep_cuzsmall_x\the\numexpr0\XINT_unsep_loop
@@ -502,13 +491,6 @@
{%
\expandafter#1\xint_gob_til_one ##2##3##4##5##6##7##8%
}}\XINT_zeroes_forviii_end{ }%
-\def\XINT_zeroes_foriv #1#2#3#4#5#6#7#8%
-{%
- \xint_gob_til_R #8\XINT_zeroes_foriv_end\R\XINT_zeroes_foriv
-}%
-\def\XINT_zeroes_foriv_end\R\XINT_zeroes_foriv #1#2\W
- {\XINT_zeroes_foriv_done #1}%
-\def\XINT_zeroes_foriv_done #1\R{ #1}%
\def\XINT_sepbyviii_Z #1#2#3#4#5#6#7#8%
{%
1#1#2#3#4#5#6#7#8\expandafter!\the\numexpr\XINT_sepbyviii_Z