summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/apnum
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-12 22:35:10 +0000
committerKarl Berry <karl@freefriends.org>2015-05-12 22:35:10 +0000
commit2cd0abe17ecaf0b3cc5a67e3fc8a9bf977ba12ac (patch)
treea0c4cd8202fe9ba9212355c1db69f2db89b3bd65 /Master/texmf-dist/tex/generic/apnum
parent20c414d3d2201a657617ea63e204af775d11ebd8 (diff)
apnum (12may15)
git-svn-id: svn://tug.org/texlive/trunk@37357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/apnum')
-rw-r--r--Master/texmf-dist/tex/generic/apnum/apnum.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/apnum/apnum.tex b/Master/texmf-dist/tex/generic/apnum/apnum.tex
index 28f1dea9557..72bfceff9cc 100644
--- a/Master/texmf-dist/tex/generic/apnum/apnum.tex
+++ b/Master/texmf-dist/tex/generic/apnum/apnum.tex
@@ -4,7 +4,7 @@
% See the documentation apnum.pdf or apnum.d for more information
-\def\apnumversion{1.1 <Jan. 2015>}
+\def\apnumversion{1.2 <May 2015>}
\message{The Arbitrary Precision Numbers, \apnumversion}
%%%%%%%%%%%% Internal registers:
@@ -246,7 +246,7 @@
\fi
}
\def\apPLUSp#1{%
- \ifx@#1\ifnum\apnumX>0 \edef\OUT{1\OUT}\fi
+ \ifx@#1\ifnum\apnumX>0 \apnumA=1 \apPLUSw \fi % .5+.5=.1 bug fixed
\else
\apnumA=\apnumX \advance\apnumA by#1
\ifnum\apnumA<\apIVbase \apnumX=0 \else \apnumX=1 \advance\apnumA by-\apIVbase \fi
@@ -719,3 +719,4 @@
1.1 <Jan. 2015>
- POW implemented more simple (by base 2 of exponent)
- \next renamed in order to avoid name conflict
+1.2 <May 2015> - .5+.5=.1 bug fixed