summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/xint/xint.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/xint/xint.sty')
-rw-r--r--Master/texmf-dist/tex/generic/xint/xint.sty22
1 files changed, 9 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/xint/xint.sty b/Master/texmf-dist/tex/generic/xint/xint.sty
index 016a684c4c2..d630061d80b 100644
--- a/Master/texmf-dist/tex/generic/xint/xint.sty
+++ b/Master/texmf-dist/tex/generic/xint/xint.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
%%
%%----------------------------------------------------------------
-%% The xint bundle (version 1.05 of May 1st, 2013)
+%% The xint bundle (version 1.05a of May 2nd, 2013)
%% xint: Expandable operations on long numbers
%% Copyright (C) 2013 by Jean-Francois Burnol
%%----------------------------------------------------------------
@@ -134,7 +134,7 @@
\fi
\expandafter\x\csname ver@xint.sty\endcsname
\ProvidesPackage{xint}%
- [2013/05/01 v1.05 Expandable operations on long numbers (jfB)]%
+ [2013/05/02 v1.05a Expandable operations on long numbers (jfB)]%
\def\xint@gobble #1{}%
\def\xint@gobble@one #1{}%
\def\xint@gobble@two #1#2{}%
@@ -487,13 +487,11 @@
\def #1##1%
{%
\ifnum ##1< 0
- \xint@afterfi {\xintError:ArrayIndexIsNegative
- \expandafter\space 0}%
+ \xint@afterfi {\xintError:ArrayIndexIsNegative\space 0}%
\else
\xint@afterfi {%
\ifnum ##1> #2
- \xint@afterfi {\xintError:ArrayIndexBeyondLimit
- \expandafter\space 0}%
+ \xint@afterfi {\xintError:ArrayIndexBeyondLimit\space 0}%
\else
\xint@afterfi
{\expandafter\expandafter\expandafter
@@ -2059,7 +2057,7 @@
\or
\expandafter\XINT@fac@checklength
\else
- \xint@afterfi{\xintError:FactorialOfNegativeNumber
+ \xint@afterfi{\expandafter\xintError:FactorialOfNegativeNumber
\expandafter\space\expandafter 1\xint@gobble }%
\fi
{#1}%
@@ -2067,7 +2065,7 @@
\def\XINT@fac@checklength #1%
{%
\ifnum\numexpr #1\relax>999999
- \xint@afterfi{\xintError:FactorialOfTooBigNumber
+ \xint@afterfi{\expandafter\xintError:FactorialOfTooBigNumber
\expandafter\space\expandafter 1\xint@gobble }%
\else
\xint@afterfi{\ifnum #1>9999
@@ -2218,7 +2216,7 @@
\xint@UNDEF
}%
\def\XINT@pow@BtooBig #1\xint@UNDEF #2\xint@UNDEF
- {\xintError:ExponentTooBig\space 0}%
+ {\xintError:ExponentTooBig\space 0}%
\def\XINT@pow@loop #1#2%
{%
\ifnum #1 = 1
@@ -2962,8 +2960,7 @@
\def\XINT@dsx@xisNeg@checkx #1%
{%
\ifnum #1> 9
- \xint@afterfi {\xintError:TooBigDecimalShift
- \XINT@dsx@toobigx }%
+ \xint@afterfi {\xintError:TooBigDecimalShift\XINT@dsx@toobigx }%
\else
\expandafter \XINT@dsx@zeroloop
\fi
@@ -3085,8 +3082,7 @@
\def\XINT@split@checksizex #1%
{%
\ifnum\XINT@Len {#1} > 9
- \xint@afterfi {\xintError:TooBigDecimalSplit
- \XINT@split@bigx }%
+ \xint@afterfi {\xintError:TooBigDecimalSplit\XINT@split@bigx }%
\else
\expandafter\XINT@split@xfork
\fi