summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bnumexpr
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bnumexpr')
-rw-r--r--Master/texmf-dist/tex/latex/bnumexpr/bnumexpr.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/bnumexpr/bnumexpr.sty b/Master/texmf-dist/tex/latex/bnumexpr/bnumexpr.sty
index 03e6dad670c..a0b271bb5a0 100644
--- a/Master/texmf-dist/tex/latex/bnumexpr/bnumexpr.sty
+++ b/Master/texmf-dist/tex/latex/bnumexpr/bnumexpr.sty
@@ -22,10 +22,10 @@
%% in the same archive or directory.)
%% ---------------------------------------------------------------
%% The bnumexpr package: Expressions with big integers
-%% Copyright (C) 2014-2015 by Jean-Francois Burnol
+%% Copyright (C) 2014-2017 by Jean-Francois Burnol
%%
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{bnumexpr}[2015/10/14 v1.2a Expressions with big integers (jfB)]%
+\ProvidesPackage{bnumexpr}[2017/07/09 v1.2b Expressions with big integers (JFB)]%
\edef\BNErestorecatcodes {\catcode`\noexpand\!\the\catcode`\!
\catcode`\noexpand\?\the\catcode`\?
\catcode`\noexpand\_\the\catcode`\_
@@ -161,6 +161,7 @@
\def\BNE_scanint_endbycs#1#2\BNE_scanint_d{\endcsname #1}%
\def\BNE_scanint_c\string #1\BNE_scanint_d
{%
+ \if _#1\xint_dothis{\expandafter\BNE_scanint_d\xint_gobble_i}\fi
\ifcat a#1\xint_dothis{\endcsname*}\fi % tacit multiplication
\xint_orthat {\expandafter\endcsname \string}#1%
}%
@@ -177,6 +178,7 @@
\def\BNE_gobz_scanint_endbycs#1#2\BNE_scanint_d{0\endcsname #1}%
\def\BNE_gobz_scanint_c\string #1\BNE_scanint_d
{%
+ \if _#1\xint_dothis\BNE_gobz_scanint_d\fi
\ifcat a#1\xint_dothis{0\endcsname*#1}\fi % tacit multiplication
\if 0#1\xint_dothis\BNE_gobz_scanint_d\fi
\xint_orthat {0\expandafter\endcsname \string#1}%