CONTRACT: Fix incorrect description of Hamming Codes in Integer to Encoded Binary. (#1677)

This commit is contained in:
Ben Rog-Wilhelm 2024-10-04 05:51:31 -05:00 committed by GitHub
parent 7c3d71d21a
commit dad34a09dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1270,7 +1270,7 @@ export const codingContractTypesMetadata: CodingContractType<any>[] = [
"A parity bit is inserted at position 0 and at every position N where N is a power of 2.\n", "A parity bit is inserted at position 0 and at every position N where N is a power of 2.\n",
"Parity bits are used to make the total number of '1' bits in a given set of data even.\n", "Parity bits are used to make the total number of '1' bits in a given set of data even.\n",
"The parity bit at position 0 considers all bits including parity bits.\n", "The parity bit at position 0 considers all bits including parity bits.\n",
"Each parity bit at position 2^N alternately considers N bits then ignores N bits, starting at position 2^N.\n", "Each parity bit at position 2^N alternately considers 2^N bits then ignores 2^N bits, starting at position 2^N.\n",
"The endianness of the parity bits is reversed compared to the endianness of the data bits:\n", "The endianness of the parity bits is reversed compared to the endianness of the data bits:\n",
"Data bits are encoded most significant bit first and the parity bits encoded least significant bit first.\n", "Data bits are encoded most significant bit first and the parity bits encoded least significant bit first.\n",
"The parity bit at position 0 is set last.\n\n", "The parity bit at position 0 is set last.\n\n",