summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/apnum/apnum.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/apnum/apnum.tex')
-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