summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-27 21:26:37 +0000
committerKarl Berry <karl@freefriends.org>2017-07-27 21:26:37 +0000
commit489bf93080c55ee77ca42507502afcbfdec203aa (patch)
treec4fe2f155d614279d3d821534d46f270786d7769 /Master/texmf-dist/tex/latex
parentfe6cc7d43e9608cb5bb2533480000837d7cf4827 (diff)
bnumexpr (27jul17)
git-svn-id: svn://tug.org/texlive/trunk@44901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-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}%