mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Fix comment.
This commit is contained in:
		
							parent
							
								
									6ffa4a2a7d
								
							
						
					
					
						commit
						a0eae0398c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1977,9 +1977,9 @@ long_hash(PyLongObject *v)
 | 
			
		|||
		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) |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue