[Python-checkins] r82610 - python/branches/py3k/Objects/floatobject.c

mark.dickinson python-checkins at python.org
Tue Jul 6 17:11:44 CEST 2010


Author: mark.dickinson
Date: Tue Jul  6 17:11:44 2010
New Revision: 82610

Log:
Style nit.

Modified:
   python/branches/py3k/Objects/floatobject.c

Modified: python/branches/py3k/Objects/floatobject.c
==============================================================================
--- python/branches/py3k/Objects/floatobject.c	(original)
+++ python/branches/py3k/Objects/floatobject.c	Tue Jul  6 17:11:44 2010
@@ -1422,7 +1422,7 @@
                     round_up = 1;
                     break;
                 }
-        if (round_up == 1) {
+        if (round_up) {
             x += 2*half_eps;
             if (top_exp == DBL_MAX_EXP &&
                 x == ldexp((double)(2*half_eps), DBL_MANT_DIG))


More information about the Python-checkins mailing list