Fix comment.
This commit is contained in:
parent
6ffa4a2a7d
commit
a0eae0398c
|
@ -1977,9 +1977,9 @@ long_hash(PyLongObject *v)
|
||||||
i = -(i);
|
i = -(i);
|
||||||
}
|
}
|
||||||
#define LONG_BIT_PyLong_SHIFT (8*sizeof(long) - PyLong_SHIFT)
|
#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 following loop produces a C unsigned long x such that x is
|
||||||
the absolute value of v modulo ULONG_MAX. The resulting x is
|
congruent to the absolute value of v modulo ULONG_MAX. The
|
||||||
nonzero if and only if v is. */
|
resulting x is nonzero if and only if v is. */
|
||||||
while (--i >= 0) {
|
while (--i >= 0) {
|
||||||
/* Force a native long #-bits (32 or 64) circular shift */
|
/* Force a native long #-bits (32 or 64) circular shift */
|
||||||
x = ((x << PyLong_SHIFT) & ~PyLong_MASK) |
|
x = ((x << PyLong_SHIFT) & ~PyLong_MASK) |
|
||||||
|
|
Loading…
Reference in New Issue