mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Final three poly table entries corrected by Tim Peters.
Reindented the whole table.
This commit is contained in:
parent
47110d7f44
commit
9e5656ca3f
2 changed files with 60 additions and 62 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue