OSSP CVS Repository

ossp - Difference in ossp-pkg/js/src/jsdtoa.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/src/jsdtoa.c 1.2 -> 1.3

--- jsdtoa.c     2006/07/22 20:31:56     1.2
+++ jsdtoa.c     2006/07/24 19:04:53     1.3
@@ -247,7 +247,7 @@
 #define word1(x)        JSDOUBLE_LO32(x)
 #define set_word1(x, y) JSDOUBLE_SET_LO32(x, y)
 
-#ifdef OSSP
+#ifdef OSSP /* BUGFIX */
 #define Storeinc(a,b,c) (*(a)++ = (b) << 16 | ((c) & 0xffff))
 #else
 #define Storeinc(a,b,c) (*(a)++ = (b) << 16 | (c) & 0xffff)
@@ -1830,7 +1830,7 @@
     }
 #ifdef Avoid_Underflow
     if (scale) {
-#ifdef OSSP
+#ifdef OSSP /* CLEANUP */
         rv0 = 0.; /* calm the compiler warning */
 #endif
         set_word0(rv0, Exp_1 - P*Exp_msk1);

CVSTrac 2.0.1