J
jaysome
In C Unleashed, Chapter 18, in the section titled "Correcting the
Errors: Hamming Codes", I was confused by the "(12,4)" reference. In
one paragraph, the author says that:
"In general, this two-value representation is referred to as (c,d),
where d is the original number of data bits and c in the number of
bits in the encoded word, including the Hamming parity bits."
In a few paragraphs later, it states:
"We will take a look at the (12,4) Hamming code..."
But in Figure 18.4 (which includes "(12,4)" in its caption), there are
8 data bits.
Shouldn't "(12,4)" be "(12,8)" everywhere in this section? Or am I
missing something? I looked in the errata and did not see any such
correction.
I only ask because I found this section in particular and the entire
Chapter 18 in general and the entire book overall to be very
informative, and I know some of the regulars here contributed to this
book, which I consider to be a gem.
Errors: Hamming Codes", I was confused by the "(12,4)" reference. In
one paragraph, the author says that:
"In general, this two-value representation is referred to as (c,d),
where d is the original number of data bits and c in the number of
bits in the encoded word, including the Hamming parity bits."
In a few paragraphs later, it states:
"We will take a look at the (12,4) Hamming code..."
But in Figure 18.4 (which includes "(12,4)" in its caption), there are
8 data bits.
Shouldn't "(12,4)" be "(12,8)" everywhere in this section? Or am I
missing something? I looked in the errata and did not see any such
correction.
I only ask because I found this section in particular and the entire
Chapter 18 in general and the entire book overall to be very
informative, and I know some of the regulars here contributed to this
book, which I consider to be a gem.