Gerhard Niklasch on Fri, 27 Mar 1998 17:54:22 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Another one-liner...


...not far from the previous one.  Official Patch 16 and a quarter.
Fixes precprime(25) etc.  This one has been with us since 2.0.alpha
(at least).


bash$ diff -u src/basemath/arith1.c.orig src/basemath/arith1.c
--- src/basemath/arith1.c.orig  Fri Mar 27 11:52:20 1998
+++ src/basemath/arith1.c       Fri Mar 27 17:46:50 1998
@@ -1308,7 +1308,7 @@
   switch(smodis(n,6))
   {
     case 0: n=addsi(-1,n); tosub=4; break;
-    case 1: tosub=4; break;
+    case 1: tosub=2; break;
     case 2: n=addsi(-1,n); tosub=2; break;
     case 3: n=addsi(-2,n); tosub=2; break;
     case 4: n=addsi(-3,n); tosub=2; break;


Apply, Gerhard