[Python-checkins] r68975 - python/trunk/Objects/longobject.c
mark.dickinson
python-checkins at python.org
Mon Jan 26 22:40:08 CET 2009
Author: mark.dickinson
Date: Mon Jan 26 22:40:08 2009
New Revision: 68975
Log:
Fix comment.
Modified:
python/trunk/Objects/longobject.c
Modified: python/trunk/Objects/longobject.c
==============================================================================
--- python/trunk/Objects/longobject.c (original)
+++ python/trunk/Objects/longobject.c Mon Jan 26 22:40:08 2009
@@ -1977,9 +1977,9 @@
i = -(i);
}
#define LONG_BIT_PyLong_SHIFT (8*sizeof(long) - PyLong_SHIFT)
- /* The following loop produces a C long x such that x is congruent to
- the absolute value of v modulo ULONG_MAX. The resulting x is
- nonzero if and only if v is. */
+ /* The following loop produces a C unsigned long x such that x is
+ congruent to the absolute value of v modulo ULONG_MAX. The
+ resulting x is nonzero if and only if v is. */
while (--i >= 0) {
/* Force a native long #-bits (32 or 64) circular shift */
x = ((x << PyLong_SHIFT) & ~PyLong_MASK) |
More information about the Python-checkins
mailing list