From: Guido van Rossum Date: Wed, 29 Jan 1997 04:45:16 +0000 (+0000) Subject: Final three poly table entries corrected by Tim Peters. X-Git-Tag: v1.5a1~420 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e5656ca3f3eed7169ead42e7a768733baaf2a16;p=python Final three poly table entries corrected by Tim Peters. Reindented the whole table. --- diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 96211ecce3..bcd615df08 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -52,37 +52,36 @@ Table of irreducible polynomials to efficiently cycle through GF(2^n)-{0}, 2<=n<=30. */ static long polys[] = { - 4 + 3, - 8 + 3, - 16 + 3, - 32 + 5, - 64 + 3, - 128 + 3, - 256 + 29, - 512 + 17, - 1024 + 9, - 2048 + 5, - 4096 + 83, - 8192 + 27, - 16384 + 43, - 32768 + 3, - 65536 + 45, - 131072 + 9, - 262144 + 39, - 524288 + 39, - 1048576 + 9, - 2097152 + 5, - 4194304 + 3, - 8388608 + 33, - 16777216 + 27, - 33554432 + 9, - 67108864 + 71, - 134217728 + 39, - /* Not verified by Tim P: */ - 268435456 + 3, - 536870912 + 5, - 1073741824 + 3, - 0 + 4 + 3, + 8 + 3, + 16 + 3, + 32 + 5, + 64 + 3, + 128 + 3, + 256 + 29, + 512 + 17, + 1024 + 9, + 2048 + 5, + 4096 + 83, + 8192 + 27, + 16384 + 43, + 32768 + 3, + 65536 + 45, + 131072 + 9, + 262144 + 39, + 524288 + 39, + 1048576 + 9, + 2097152 + 5, + 4194304 + 3, + 8388608 + 33, + 16777216 + 27, + 33554432 + 9, + 67108864 + 71, + 134217728 + 39, + 268435456 + 9, + 536870912 + 5, + 1073741824 + 83, + 0 }; /* Object used as dummy key to fill deleted entries */ diff --git a/Objects/mappingobject.c b/Objects/mappingobject.c index 96211ecce3..bcd615df08 100644 --- a/Objects/mappingobject.c +++ b/Objects/mappingobject.c @@ -52,37 +52,36 @@ Table of irreducible polynomials to efficiently cycle through GF(2^n)-{0}, 2<=n<=30. */ static long polys[] = { - 4 + 3, - 8 + 3, - 16 + 3, - 32 + 5, - 64 + 3, - 128 + 3, - 256 + 29, - 512 + 17, - 1024 + 9, - 2048 + 5, - 4096 + 83, - 8192 + 27, - 16384 + 43, - 32768 + 3, - 65536 + 45, - 131072 + 9, - 262144 + 39, - 524288 + 39, - 1048576 + 9, - 2097152 + 5, - 4194304 + 3, - 8388608 + 33, - 16777216 + 27, - 33554432 + 9, - 67108864 + 71, - 134217728 + 39, - /* Not verified by Tim P: */ - 268435456 + 3, - 536870912 + 5, - 1073741824 + 3, - 0 + 4 + 3, + 8 + 3, + 16 + 3, + 32 + 5, + 64 + 3, + 128 + 3, + 256 + 29, + 512 + 17, + 1024 + 9, + 2048 + 5, + 4096 + 83, + 8192 + 27, + 16384 + 43, + 32768 + 3, + 65536 + 45, + 131072 + 9, + 262144 + 39, + 524288 + 39, + 1048576 + 9, + 2097152 + 5, + 4194304 + 3, + 8388608 + 33, + 16777216 + 27, + 33554432 + 9, + 67108864 + 71, + 134217728 + 39, + 268435456 + 9, + 536870912 + 5, + 1073741824 + 83, + 0 }; /* Object used as dummy key to fill deleted entries */