Exponential-Golomb coding: Difference between revisions

Content deleted Content added
phrasing
m grammar
Line 1:
An '''Exponential-Golomb code''' (or just '''Exp-Golomb code''') of order <math>k</math> is a [[Universal code (data compression)|universal code]], parameterized by a [[whole number]] <math>k</math>. To encode a nonnegative integer in an order-<math>k</math> exp-Golomb code, one can use the following method:
# Write all but the last <math>k</math> bits plus 1 in binary.
# Count the bits written, subtract one, and write that number of starting zero bits preceding the previous bit string.