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

[commits] r12001 - in /libdfp/trunk: ChangeLog strtod32.c



Author: luis
Date: Tue Nov  9 05:58:15 2010
New Revision: 12001

Log:
2010-11-09  Luis Machado  <luisgpm@xxxxxxxxxx>

	* strtod32.c (FUNCTION_L_INTERNAL): Fix comparison operator.


Modified:
    libdfp/trunk/ChangeLog
    libdfp/trunk/strtod32.c

Modified: libdfp/trunk/ChangeLog
==============================================================================
--- libdfp/trunk/ChangeLog (original)
+++ libdfp/trunk/ChangeLog Tue Nov  9 05:58:15 2010
@@ -1,3 +1,7 @@
+2010-11-09  Luis Machado  <luisgpm@xxxxxxxxxx>
+
+	* strtod32.c (FUNCTION_L_INTERNAL): Fix comparison operator.
+
 2010-11-08  Luis Machado  <luisgpm@xxxxxxxxxx>
 
 	* sysdeps/s390/dfpu/numdigits.h: Remove include guards.

Modified: libdfp/trunk/strtod32.c
==============================================================================
--- libdfp/trunk/strtod32.c (original)
+++ libdfp/trunk/strtod32.c Tue Nov  9 05:58:15 2010
@@ -956,7 +956,7 @@
 	startp += decimal_len;
 #endif
 
-	if (int_no <= MANT_DIG)
+	if (int_no < MANT_DIG)
 	  {
 	    if(base == 10)
 	      d32 = d32*10 + *startp - L_('0');