[latex3-commits] [l3svn] r6782 - Remove one more \c_minus_one

noreply at latex-project.org noreply at latex-project.org
Mon Dec 5 17:09:01 CET 2016


Author: bruno
Date: 2016-12-05 17:09:01 +0100 (Mon, 05 Dec 2016)
New Revision: 6782

Modified:
   trunk/l3kernel/l3fp-logic.dtx
Log:
Remove one more \c_minus_one


Modified: trunk/l3kernel/l3fp-logic.dtx
===================================================================
--- trunk/l3kernel/l3fp-logic.dtx	2016-12-05 16:03:17 UTC (rev 6781)
+++ trunk/l3kernel/l3fp-logic.dtx	2016-12-05 16:09:01 UTC (rev 6782)
@@ -400,9 +400,9 @@
 \cs_new:Npn \@@_minmax_o:Nw #1#2 @
   {
     \if_meaning:w 0 #1
-      \exp_after:wN \@@_minmax_loop:Nww \exp_after:wN \c_one
+      \exp_after:wN \@@_minmax_loop:Nww \exp_after:wN +
     \else:
-      \exp_after:wN \@@_minmax_loop:Nww \exp_after:wN \c_minus_one
+      \exp_after:wN \@@_minmax_loop:Nww \exp_after:wN -
     \fi:
     #2
     \s_@@ \@@_chk:w 2 #1 \s_@@_exact ;
@@ -412,7 +412,7 @@
 % \end{macro}
 %
 % \begin{macro}[aux, EXP]{\@@_minmax_loop:Nww}
-%   The first argument is $-1$ or $1$ to denote the case where the
+%   The first argument is $-$ or $+$ to denote the case where the
 %   currently largest (smallest) number found (first floating point
 %   argument) should be replaced by the new number (second floating
 %   point argument).  If the new number is \texttt{nan}, keep that as
@@ -436,7 +436,7 @@
           \@@_compare_back:ww
             \s_@@ \@@_chk:w #4#5;
             \s_@@ \@@_chk:w #2#3;
-          = #1
+          = #1 \c_one
         \@@_minmax_auxii:ww
       \else:
         \@@_minmax_auxi:ww



More information about the latex3-commits mailing list