Estimate the differing-bit count of two equal-length binary strings for error-correction and link-reliability analysis.
差异率可用采样统计近似。
| Item | Formula / Rule | Source / Standard |
|---|---|---|
| Hamming distance | d(x, y) = popcount(x XOR y), the number of differing bits | Hamming, Error Detecting and Error Correcting Codes, 1950 |
| Correction criterion | Correcting t bits needs d ≥ 2t + 1; detecting e bits needs d ≥ e + 1 | Hamming 1950 §2 Minimum distance bound |
| Normalized distance | Normalized distance = d(x, y) / n over n-bit codewords, ranging from 0 to 1 | ISO/IEC 2382 Information technology vocabulary |