How arithmetic coding narrows a fraction

Short answer: Arithmetic coding encodes a message as a single fraction of the unit interval. Each symbol narrows the current interval to the subinterval proportional to the symbol’s probability. The encoder emits bits as soon as they are determined by the shrinking interval, and it uses renormalization to keep…