From 2cd0abe17ecaf0b3cc5a67e3fc8a9bf977ba12ac Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 12 May 2015 22:35:10 +0000
Subject: apnum (12may15)

git-svn-id: svn://tug.org/texlive/trunk@37357 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/generic/apnum/apnum.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/apnum/apnum.tex')

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
-- 
cgit v1.2.3

